Browse Source

Get started.

Douglas William Thrift 7 years ago
commit
e12ed193b2
5 changed files with 27 additions and 0 deletions
  1. 1 0
      .gitignore
  2. 2 0
      README.md
  3. 15 0
      dthome.py
  4. 1 0
      requirements.txt
  5. 8 0
      usbuirt.py

+ 1 - 0
.gitignore

@@ -0,0 +1 @@
+*.pyc

+ 2 - 0
README.md

@@ -0,0 +1,2 @@
+DT Home
+=======

+ 15 - 0
dthome.py

@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+# DT Home
+#
+# Douglas Thrift
+#
+# dthome.py
+
+import bottle
+
+@bottle.get('/')
+def index():
+    return '<html><body><h1>It works!</h1></body></html>'
+
+if __name__ == '__main__':
+    bottle.run()

+ 1 - 0
requirements.txt

@@ -0,0 +1 @@
+bottle>=0.10

+ 8 - 0
usbuirt.py

@@ -0,0 +1,8 @@
+# DT Home
+#  USB UIRT
+#
+# Douglas Thrift
+#
+# usbuirt.py
+
+import ctypes