totalsync-webinterface 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. totalsync_webinterface-0.1.1/.gitignore +146 -0
  2. totalsync_webinterface-0.1.1/.hgignore +17 -0
  3. totalsync_webinterface-0.1.1/LICENSE +676 -0
  4. totalsync_webinterface-0.1.1/PKG-INFO +41 -0
  5. totalsync_webinterface-0.1.1/README.md +18 -0
  6. totalsync_webinterface-0.1.1/pyproject.toml +49 -0
  7. totalsync_webinterface-0.1.1/totalsync_webinterface/__init__.py +8 -0
  8. totalsync_webinterface-0.1.1/totalsync_webinterface/camera.py +163 -0
  9. totalsync_webinterface-0.1.1/totalsync_webinterface/curses_interface.py +142 -0
  10. totalsync_webinterface-0.1.1/totalsync_webinterface/fake_picamera.py +81 -0
  11. totalsync_webinterface-0.1.1/totalsync_webinterface/packet.py +194 -0
  12. totalsync_webinterface-0.1.1/totalsync_webinterface/pin_sheet.py +101 -0
  13. totalsync_webinterface-0.1.1/totalsync_webinterface/serial_dummy.py +92 -0
  14. totalsync_webinterface-0.1.1/totalsync_webinterface/serial_dump.py +66 -0
  15. totalsync_webinterface-0.1.1/totalsync_webinterface/teensy_commander.py +490 -0
  16. totalsync_webinterface-0.1.1/totalsync_webinterface/web/CanvasCamera.js +33 -0
  17. totalsync_webinterface-0.1.1/totalsync_webinterface/web/CanvasPlot.js +71 -0
  18. totalsync_webinterface-0.1.1/totalsync_webinterface/web/favicon.ico +0 -0
  19. totalsync_webinterface-0.1.1/totalsync_webinterface/web/index.html +31 -0
  20. totalsync_webinterface-0.1.1/totalsync_webinterface/web/interface.js +342 -0
  21. totalsync_webinterface-0.1.1/totalsync_webinterface/web/reconnecting-websocket/LICENSE.txt +21 -0
  22. totalsync_webinterface-0.1.1/totalsync_webinterface/web/reconnecting-websocket/README.md +149 -0
  23. totalsync_webinterface-0.1.1/totalsync_webinterface/web/reconnecting-websocket/package.json +19 -0
  24. totalsync_webinterface-0.1.1/totalsync_webinterface/web/reconnecting-websocket/reconnecting-websocket.js +365 -0
  25. totalsync_webinterface-0.1.1/totalsync_webinterface/web/style.css +165 -0
  26. totalsync_webinterface-0.1.1/totalsync_webinterface/web/webgl-plot/LICENSE +21 -0
  27. totalsync_webinterface-0.1.1/totalsync_webinterface/web/webgl-plot/README.md +184 -0
  28. totalsync_webinterface-0.1.1/totalsync_webinterface/web/webgl-plot/dist/webglplot.esm.js +619 -0
  29. totalsync_webinterface-0.1.1/totalsync_webinterface/web/webgl-plot/package.json +42 -0
  30. totalsync_webinterface-0.1.1/totalsync_webinterface/web_interface.py +268 -0
  31. totalsync_webinterface-0.1.1/totalsync_webinterface/websocket_server/LICENSE +21 -0
  32. totalsync_webinterface-0.1.1/totalsync_webinterface/websocket_server/__init__.py +1 -0
  33. totalsync_webinterface-0.1.1/totalsync_webinterface/websocket_server/websocket_server.py +377 -0
@@ -0,0 +1,146 @@
1
+ # ---------------------------------------------------------------------------
2
+ # Python
3
+ # ---------------------------------------------------------------------------
4
+ __pycache__/
5
+ *.py[cod]
6
+ *$py.class
7
+ *.so
8
+ *.pyd
9
+
10
+ # ---------------------------------------------------------------------------
11
+ # Packaging / build artifacts
12
+ #
13
+ # /build and /dist are anchored to the repo root on purpose. The vendored
14
+ # packages/totalsync_webinterface/totalsync_webinterface/web/webgl-plot/dist/ is checked
15
+ # in and is now the only thing left of that tree, so an unanchored `dist/` would erase
16
+ # the plotting library the interface loads.
17
+ # ---------------------------------------------------------------------------
18
+ /build/
19
+ /dist/
20
+ /sdist/
21
+ *.egg-info/
22
+ *.egg
23
+ .eggs/
24
+ MANIFEST
25
+ wheels/
26
+
27
+ # ---------------------------------------------------------------------------
28
+ # Virtual environments
29
+ #
30
+ # uv.lock is deliberately NOT ignored: TotalSync is an application, so the
31
+ # lock file is what pins the exact versions the lab machines get.
32
+ # ---------------------------------------------------------------------------
33
+ .venv/
34
+ venv/
35
+ env/
36
+ ENV/
37
+ .python-version
38
+
39
+ # ---------------------------------------------------------------------------
40
+ # Test / type-check / lint caches
41
+ # ---------------------------------------------------------------------------
42
+ .pytest_cache/
43
+ .mypy_cache/
44
+ .dmypy.json
45
+ .ruff_cache/
46
+ .tox/
47
+ .nox/
48
+ .coverage
49
+ .coverage.*
50
+ coverage.xml
51
+ htmlcov/
52
+
53
+ # ---------------------------------------------------------------------------
54
+ # Recorded data and logs
55
+ #
56
+ # serial_dump writes <chosen dir>/<timestamp>.b64 (and .bin with -B); the
57
+ # fallback when the directory chooser is cancelled is ./DataFile/.
58
+ # curses_interface refers to ./LogFile/.
59
+ # ---------------------------------------------------------------------------
60
+ DataFile/
61
+ LogFile/
62
+ *.b64
63
+
64
+ # ---------------------------------------------------------------------------
65
+ # Teensy / Arduino build output
66
+ # ---------------------------------------------------------------------------
67
+ *.hex
68
+ *.elf
69
+ *.bin
70
+ .build/
71
+ Teensy41_Totalsync/build/
72
+
73
+ # ---------------------------------------------------------------------------
74
+ # Node
75
+ #
76
+ # Not needed to build TotalSync: the vendored webgl-plot is trimmed to the prebuilt
77
+ # dist/webglplot.esm.js bundle, so there is nothing here to compile. Kept in case
78
+ # someone re-vendors it from upstream.
79
+ # ---------------------------------------------------------------------------
80
+ node_modules/
81
+ npm-debug.log*
82
+ yarn-error.log*
83
+
84
+ # ---------------------------------------------------------------------------
85
+ # JetBrains IDEs (PyCharm, CLion)
86
+ #
87
+ # Listed file by file rather than as a blanket `.idea/`, because the shared
88
+ # settings under .idea/inspectionProfiles/ and .idea/vcs.xml are checked in.
89
+ # ---------------------------------------------------------------------------
90
+ .idea/workspace.xml
91
+ .idea/tasks.xml
92
+ .idea/usage.statistics.xml
93
+ .idea/dictionaries/
94
+ .idea/shelf/
95
+ .idea/httpRequests/
96
+ .idea/modules.xml
97
+ .idea/misc.xml
98
+ .idea/*.iml
99
+ .idea/modules/
100
+ .idea/**/dataSources/
101
+ .idea/**/dataSources.ids
102
+ .idea/**/dataSources.local.xml
103
+ .idea/**/sqlDataSources.xml
104
+ .idea/**/dynamic.xml
105
+ *.iml
106
+ *.iws
107
+ cmake-build-*/
108
+
109
+ # ---------------------------------------------------------------------------
110
+ # Other editors
111
+ # ---------------------------------------------------------------------------
112
+ .vscode/
113
+ *.sublime-project
114
+ *.sublime-workspace
115
+ *.swp
116
+ *.swo
117
+ *~
118
+
119
+ # ---------------------------------------------------------------------------
120
+ # Claude Code (per-developer permissions, not shared)
121
+ # ---------------------------------------------------------------------------
122
+ .claude/settings.local.json
123
+
124
+ # ---------------------------------------------------------------------------
125
+ # OS cruft — this project is run on Windows, macOS and Linux
126
+ # ---------------------------------------------------------------------------
127
+ .DS_Store
128
+ .AppleDouble
129
+ .LSOverride
130
+ ._*
131
+ .Spotlight-V100
132
+ .Trashes
133
+ Thumbs.db
134
+ Thumbs.db:encryptable
135
+ ehthumbs.db
136
+ Desktop.ini
137
+ $RECYCLE.BIN/
138
+ .directory
139
+ .fuse_hidden*
140
+ .nfs*
141
+ /.idea/webResources.xml
142
+
143
+ # ---------------------------------------------------------------------------
144
+ # Sphinx / ReadTheDocs
145
+ # ---------------------------------------------------------------------------
146
+ docs/_build/
@@ -0,0 +1,17 @@
1
+ # Use shell-style glob syntax
2
+ syntax: glob
3
+
4
+ # Compiled Python files
5
+ *.pyc
6
+
7
+ # Folder view configuration files
8
+ .DS_Store
9
+ Desktop.ini
10
+
11
+ # Thumbnail cache files
12
+ ._*
13
+ Thumbs.db
14
+
15
+ # Files that might appear on external disks
16
+ .Spotlight-V100
17
+ .Trashes