mesh-things 0.1.0__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 (79) hide show
  1. mesh_things-0.1.0/.gitignore +241 -0
  2. mesh_things-0.1.0/LICENSE +674 -0
  3. mesh_things-0.1.0/PKG-INFO +195 -0
  4. mesh_things-0.1.0/README.md +171 -0
  5. mesh_things-0.1.0/examples/README.md +275 -0
  6. mesh_things-0.1.0/examples/archive_download.py +46 -0
  7. mesh_things-0.1.0/examples/archive_duckdb.py +83 -0
  8. mesh_things-0.1.0/examples/archive_pandas.py +57 -0
  9. mesh_things-0.1.0/examples/export_download.py +62 -0
  10. mesh_things-0.1.0/examples/get_catalog.py +52 -0
  11. mesh_things-0.1.0/examples/get_device_health.py +49 -0
  12. mesh_things-0.1.0/examples/get_latest_readings.py +53 -0
  13. mesh_things-0.1.0/examples/get_public_meshes.py +41 -0
  14. mesh_things-0.1.0/examples/get_started.py +52 -0
  15. mesh_things-0.1.0/examples/mesh_stats.py +70 -0
  16. mesh_things-0.1.0/examples/readings.py +121 -0
  17. mesh_things-0.1.0/examples/registry_add_admin_key.py +54 -0
  18. mesh_things-0.1.0/examples/registry_attach_mesh_to_source.py +41 -0
  19. mesh_things-0.1.0/examples/registry_create_gateway.py +37 -0
  20. mesh_things-0.1.0/examples/registry_create_mesh.py +55 -0
  21. mesh_things-0.1.0/examples/registry_create_owner.py +55 -0
  22. mesh_things-0.1.0/examples/registry_create_sink.py +95 -0
  23. mesh_things-0.1.0/examples/registry_create_source.py +82 -0
  24. mesh_things-0.1.0/examples/registry_curate_telemetry_catalog.py +123 -0
  25. mesh_things-0.1.0/examples/registry_decide_operator_request.py +44 -0
  26. mesh_things-0.1.0/examples/registry_device_archive.py +38 -0
  27. mesh_things-0.1.0/examples/registry_device_postprocessing.py +109 -0
  28. mesh_things-0.1.0/examples/registry_device_role.py +37 -0
  29. mesh_things-0.1.0/examples/registry_discover_gateways.py +60 -0
  30. mesh_things-0.1.0/examples/registry_list_owners_meshes_and_gateways.py +49 -0
  31. mesh_things-0.1.0/examples/registry_manage_blueprint.py +124 -0
  32. mesh_things-0.1.0/examples/registry_mesh_topology.py +51 -0
  33. mesh_things-0.1.0/examples/registry_publish_mesh.py +79 -0
  34. mesh_things-0.1.0/examples/registry_request_operator.py +44 -0
  35. mesh_things-0.1.0/examples/registry_update_mesh.py +40 -0
  36. mesh_things-0.1.0/pyproject.toml +28 -0
  37. mesh_things-0.1.0/src/mesh_things/__init__.py +3 -0
  38. mesh_things-0.1.0/src/mesh_things/archive.py +39 -0
  39. mesh_things-0.1.0/src/mesh_things/catalog.py +40 -0
  40. mesh_things-0.1.0/src/mesh_things/channels.py +134 -0
  41. mesh_things-0.1.0/src/mesh_things/client/__init__.py +36 -0
  42. mesh_things-0.1.0/src/mesh_things/client/_client.py +308 -0
  43. mesh_things-0.1.0/src/mesh_things/client/_core.py +189 -0
  44. mesh_things-0.1.0/src/mesh_things/client/_helpers.py +64 -0
  45. mesh_things-0.1.0/src/mesh_things/client/_namespaces.pyi +2305 -0
  46. mesh_things-0.1.0/src/mesh_things/client/_stubgen.py +71 -0
  47. mesh_things-0.1.0/src/mesh_things/client/errors.py +101 -0
  48. mesh_things-0.1.0/src/mesh_things/client/openapi.json +9918 -0
  49. mesh_things-0.1.0/src/mesh_things/client/schema.py +106 -0
  50. mesh_things-0.1.0/src/mesh_things/codec.py +173 -0
  51. mesh_things-0.1.0/src/mesh_things/detectors.py +171 -0
  52. mesh_things-0.1.0/src/mesh_things/env.py +38 -0
  53. mesh_things-0.1.0/src/mesh_things/exports.py +13 -0
  54. mesh_things-0.1.0/src/mesh_things/influx_query.py +112 -0
  55. mesh_things-0.1.0/src/mesh_things/node_ids.py +22 -0
  56. mesh_things-0.1.0/src/mesh_things/pandas.py +137 -0
  57. mesh_things-0.1.0/src/mesh_things/portnum_registry.py +49 -0
  58. mesh_things-0.1.0/src/mesh_things/portnums.py +12 -0
  59. mesh_things-0.1.0/src/mesh_things/protobuf.py +71 -0
  60. mesh_things-0.1.0/src/mesh_things/py.typed +0 -0
  61. mesh_things-0.1.0/src/mesh_things/streams.py +6 -0
  62. mesh_things-0.1.0/src/mesh_things/timestamps.py +19 -0
  63. mesh_things-0.1.0/src/mesh_things/units.py +57 -0
  64. mesh_things-0.1.0/tests/test_archive.py +32 -0
  65. mesh_things-0.1.0/tests/test_catalog.py +30 -0
  66. mesh_things-0.1.0/tests/test_channels_vocabulary.py +55 -0
  67. mesh_things-0.1.0/tests/test_client.py +179 -0
  68. mesh_things-0.1.0/tests/test_client_contract.py +43 -0
  69. mesh_things-0.1.0/tests/test_client_helpers.py +128 -0
  70. mesh_things-0.1.0/tests/test_codec.py +150 -0
  71. mesh_things-0.1.0/tests/test_detectors.py +133 -0
  72. mesh_things-0.1.0/tests/test_env_helpers.py +76 -0
  73. mesh_things-0.1.0/tests/test_examples.py +25 -0
  74. mesh_things-0.1.0/tests/test_influx_query.py +73 -0
  75. mesh_things-0.1.0/tests/test_license.py +12 -0
  76. mesh_things-0.1.0/tests/test_openapi_snapshot.py +25 -0
  77. mesh_things-0.1.0/tests/test_pandas.py +114 -0
  78. mesh_things-0.1.0/tests/test_portnums.py +14 -0
  79. mesh_things-0.1.0/tests/test_protobuf_bridge.py +48 -0
@@ -0,0 +1,241 @@
1
+ .env
2
+
3
+ # Byte-compiled / optimized / DLL files
4
+ __pycache__/
5
+ *.py[codz]
6
+ *$py.class
7
+
8
+ # C extensions
9
+ *.so
10
+
11
+ # JAR files
12
+ *.jar
13
+
14
+ # Distribution / packaging
15
+ .Python
16
+ build/
17
+ develop-eggs/
18
+ dist/
19
+ downloads/
20
+ eggs/
21
+ .eggs/
22
+ lib/
23
+ lib64/
24
+ parts/
25
+ sdist/
26
+ var/
27
+ wheels/
28
+ share/python-wheels/
29
+ *.egg-info/
30
+ .installed.cfg
31
+ *.egg
32
+ MANIFEST
33
+
34
+ # PyInstaller
35
+ # Usually these files are written by a python script from a template
36
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
37
+ *.manifest
38
+ *.spec
39
+
40
+ # Installer logs
41
+ pip-log.txt
42
+ pip-delete-this-directory.txt
43
+
44
+ # Unit test / coverage reports
45
+ htmlcov/
46
+ .tox/
47
+ .nox/
48
+ .coverage
49
+ .coverage.*
50
+ .cache
51
+ nosetests.xml
52
+ coverage.xml
53
+ *.cover
54
+ *.py.cover
55
+ .hypothesis/
56
+ .pytest_cache/
57
+ cover/
58
+
59
+ # Translations
60
+ *.mo
61
+ *.pot
62
+
63
+ # Django stuff:
64
+ *.log
65
+ local_settings.py
66
+ db.sqlite3
67
+ db.sqlite3-journal
68
+
69
+ # Flask stuff:
70
+ instance/
71
+ .webassets-cache
72
+
73
+ # Scrapy stuff:
74
+ .scrapy
75
+
76
+ # Sphinx documentation
77
+ docs/_build/
78
+
79
+ # PyBuilder
80
+ .pybuilder/
81
+ target/
82
+
83
+ # Jupyter Notebook
84
+ .ipynb_checkpoints
85
+
86
+ # IPython
87
+ profile_default/
88
+ ipython_config.py
89
+
90
+ # pyenv
91
+ # For a library or package, you might want to ignore these files since the code is
92
+ # intended to run in multiple environments; otherwise, check them in:
93
+ # .python-version
94
+
95
+ # pipenv
96
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
97
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
98
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
99
+ # install all needed dependencies.
100
+ # Pipfile.lock
101
+
102
+ # UV
103
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
104
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
105
+ # commonly ignored for libraries.
106
+ # uv.lock
107
+
108
+ # poetry
109
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
110
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
111
+ # commonly ignored for libraries.
112
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
113
+ # poetry.lock
114
+ # poetry.toml
115
+
116
+ # pdm
117
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
118
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
119
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
120
+ # pdm.lock
121
+ # pdm.toml
122
+ .pdm-python
123
+ .pdm-build/
124
+
125
+ # pixi
126
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
127
+ # pixi.lock
128
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
129
+ # in the .venv directory. It is recommended not to include this directory in version control.
130
+ .pixi
131
+
132
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
133
+ __pypackages__/
134
+
135
+ # Celery stuff
136
+ celerybeat-schedule
137
+ celerybeat.pid
138
+
139
+ # Redis
140
+ *.rdb
141
+ *.aof
142
+ *.pid
143
+
144
+ # RabbitMQ
145
+ mnesia/
146
+ rabbitmq/
147
+ rabbitmq-data/
148
+
149
+ # ActiveMQ
150
+ activemq-data/
151
+
152
+ # SageMath parsed files
153
+ *.sage.py
154
+
155
+ # Environments
156
+ .env
157
+ .envrc
158
+ .venv
159
+ env/
160
+ venv/
161
+ ENV/
162
+ env.bak/
163
+ venv.bak/
164
+ .secrets
165
+
166
+ # Spyder project settings
167
+ .spyderproject
168
+ .spyproject
169
+
170
+ # Rope project settings
171
+ .ropeproject
172
+
173
+ # mkdocs documentation
174
+ /site
175
+
176
+ # mypy
177
+ .mypy_cache/
178
+ .dmypy.json
179
+ dmypy.json
180
+
181
+ # Pyre type checker
182
+ .pyre/
183
+
184
+ # pytype static type analyzer
185
+ .pytype/
186
+
187
+ # Cython debug symbols
188
+ cython_debug/
189
+
190
+ # PyCharm
191
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
192
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
193
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
194
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
195
+ # .idea/
196
+
197
+ # Abstra
198
+ # Abstra is an AI-powered process automation framework.
199
+ # Ignore directories containing user credentials, local state, and settings.
200
+ # Learn more at https://abstra.io/docs
201
+ .abstra/
202
+
203
+ # Visual Studio Code
204
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
205
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
206
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
207
+ # you could uncomment the following to ignore the entire vscode folder
208
+ .vscode/
209
+
210
+ # Ruff stuff:
211
+ .ruff_cache/
212
+
213
+ # PyPI configuration file
214
+ .pypirc
215
+
216
+ # Marimo
217
+ marimo/_static/
218
+ marimo/_lsp/
219
+ __marimo__/
220
+
221
+ # Streamlit
222
+ .streamlit/secrets.toml
223
+
224
+ # Caddy admin UI basic-auth credentials. Password hashes (one file per user)
225
+ # are created by scripts/caddy-admin-user.sh.
226
+ caddy/credentials/*
227
+ # Placeholder credentials (committed to avoid non-auth'd deployment to boot.)
228
+ !caddy/credentials/00-locked.txt
229
+
230
+ # Convention to avoid commiting local files
231
+ *ignore.*
232
+ # Internal files
233
+ plans/
234
+ pending*
235
+
236
+ # Server monitor settings (see monitor.env.example)
237
+ monitor.env
238
+
239
+ # Local request collections and key files with real credentials
240
+ server/examples/api-authenticated*.http
241
+ server/examples/*.key