ul-data-logger-api-sdk 2.0.4__tar.gz → 3.0.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 (23) hide show
  1. ul_data_logger_api_sdk-3.0.0/.gitignore +295 -0
  2. ul_data_logger_api_sdk-3.0.0/PKG-INFO +13 -0
  3. ul_data_logger_api_sdk-3.0.0/pyproject.toml +35 -0
  4. {ul-data-logger-api-sdk-2.0.4/data_logger_api_sdk → ul_data_logger_api_sdk-3.0.0}/types/api_last_bs_data_by_device_macs.py +1 -1
  5. ul-data-logger-api-sdk-2.0.4/PKG-INFO +0 -30
  6. ul-data-logger-api-sdk-2.0.4/README.md +0 -13
  7. ul-data-logger-api-sdk-2.0.4/pyproject.toml +0 -133
  8. ul-data-logger-api-sdk-2.0.4/setup.cfg +0 -4
  9. ul-data-logger-api-sdk-2.0.4/setup.py +0 -84
  10. ul-data-logger-api-sdk-2.0.4/ul_data_logger_api_sdk.egg-info/PKG-INFO +0 -30
  11. ul-data-logger-api-sdk-2.0.4/ul_data_logger_api_sdk.egg-info/SOURCES.txt +0 -18
  12. ul-data-logger-api-sdk-2.0.4/ul_data_logger_api_sdk.egg-info/dependency_links.txt +0 -1
  13. ul-data-logger-api-sdk-2.0.4/ul_data_logger_api_sdk.egg-info/requires.txt +0 -2
  14. ul-data-logger-api-sdk-2.0.4/ul_data_logger_api_sdk.egg-info/top_level.txt +0 -1
  15. {ul-data-logger-api-sdk-2.0.4/data_logger_api_sdk → ul_data_logger_api_sdk-3.0.0}/__init__.py +0 -0
  16. {ul-data-logger-api-sdk-2.0.4/data_logger_api_sdk → ul_data_logger_api_sdk-3.0.0}/data_logger_api_sdk.py +0 -0
  17. {ul-data-logger-api-sdk-2.0.4/data_logger_api_sdk → ul_data_logger_api_sdk-3.0.0}/data_logger_sdk_config.py +0 -0
  18. {ul-data-logger-api-sdk-2.0.4/data_logger_api_sdk → ul_data_logger_api_sdk-3.0.0}/py.typed +0 -0
  19. {ul-data-logger-api-sdk-2.0.4/data_logger_api_sdk → ul_data_logger_api_sdk-3.0.0}/types/__init__.py +0 -0
  20. {ul-data-logger-api-sdk-2.0.4/data_logger_api_sdk → ul_data_logger_api_sdk-3.0.0}/types/api_bs_traffic_stats.py +0 -0
  21. {ul-data-logger-api-sdk-2.0.4/data_logger_api_sdk → ul_data_logger_api_sdk-3.0.0}/types/api_device_data_history.py +0 -0
  22. {ul-data-logger-api-sdk-2.0.4/data_logger_api_sdk → ul_data_logger_api_sdk-3.0.0}/types/api_packet_types.py +0 -0
  23. {ul-data-logger-api-sdk-2.0.4/data_logger_api_sdk → ul_data_logger_api_sdk-3.0.0}/types/api_protocol_types.py +0 -0
@@ -0,0 +1,295 @@
1
+ ### Python template
2
+ # Byte-compiled / optimized / DLL files
3
+ __pycache__/
4
+ *.py[cod]
5
+ *$py.class
6
+
7
+ # C extensions
8
+ *.so
9
+
10
+ # Distribution / packaging
11
+ .Python
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib/
19
+ lib64/
20
+ parts/
21
+ sdist/
22
+ var/
23
+ wheels/
24
+ *.egg-info/
25
+ /srv/ci-build/requirements.txt
26
+ .installed.cfg
27
+ *.egg
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .coverage
43
+ .coverage.*
44
+ .cache
45
+ nosetests.xml
46
+ coverage.xml
47
+ *.cover
48
+ .hypothesis/
49
+
50
+ # Translations
51
+ *.mo
52
+ *.pot
53
+
54
+ # Django stuff:
55
+ staticfiles/
56
+
57
+ # PyBuilder
58
+ target/
59
+
60
+ # celery beat schedule file
61
+ celerybeat-schedule
62
+
63
+ # Environments
64
+ .venv
65
+ venv/
66
+
67
+ # Rope project settings
68
+ .ropeproject
69
+
70
+ # mkdocs documentation
71
+ /site
72
+
73
+ # mypy
74
+ .mypy_cache/
75
+
76
+ # ruff
77
+ .ruff_cache/
78
+
79
+ ### Node template
80
+ # Logs
81
+ logs
82
+ *.log
83
+ npm-debug.log*
84
+ yarn-debug.log*
85
+ yarn-error.log*
86
+
87
+ # Runtime data
88
+ pids
89
+ *.pid
90
+ *.seed
91
+ *.pid.lock
92
+
93
+ # Directory for instrumented libs generated by jscoverage/JSCover
94
+ lib-cov
95
+
96
+ # Coverage directory used by tools like istanbul
97
+ coverage
98
+
99
+ # nyc test coverage
100
+ .nyc_output
101
+
102
+ # Bower dependency directory (https://bower.io/)
103
+ bower_components
104
+
105
+ # node-waf configuration
106
+ .lock-wscript
107
+
108
+ # Compiled binary addons (http://nodejs.org/api/addons.html)
109
+ build/Release
110
+
111
+ # Dependency directories
112
+ node_modules/
113
+ jspm_packages/
114
+
115
+ # Typescript v1 declaration files
116
+ typings/
117
+
118
+ # Optional npm cache directory
119
+ .npm
120
+
121
+ # Optional eslint cache
122
+ .eslintcache
123
+
124
+ # Optional REPL history
125
+ .node_repl_history
126
+
127
+ # Output of 'npm pack'
128
+ *.tgz
129
+
130
+ # Yarn Integrity file
131
+ .yarn-integrity
132
+
133
+
134
+ ### Linux template
135
+ *~
136
+
137
+ # temporary files which can be created if a process still has a handle open of a deleted file
138
+ .fuse_hidden*
139
+
140
+ # KDE directory preferences
141
+ .directory
142
+
143
+ # Linux trash folder which might appear on any partition or disk
144
+ .Trash-*
145
+
146
+ # .nfs files are created when an open file is removed but is still being accessed
147
+ .nfs*
148
+
149
+
150
+ ### VisualStudioCode template
151
+ .vscode/*
152
+ !.vscode/settings.json
153
+ !.vscode/tasks.json
154
+ !.vscode/launch.json
155
+ !.vscode/extensions.json
156
+
157
+
158
+
159
+
160
+
161
+ ### Windows template
162
+ # Windows thumbnail cache files
163
+ Thumbs.db
164
+ ehthumbs.db
165
+ ehthumbs_vista.db
166
+
167
+ # Dump file
168
+ *.stackdump
169
+
170
+ # Folder config file
171
+ Desktop.ini
172
+
173
+ # Recycle Bin used on file shares
174
+ $RECYCLE.BIN/
175
+
176
+ # Windows Installer files
177
+ *.cab
178
+ *.msi
179
+ *.msm
180
+ *.msp
181
+
182
+ # Windows shortcuts
183
+ *.lnk
184
+
185
+
186
+ ### macOS template
187
+ # General
188
+ *.DS_Store
189
+ .AppleDouble
190
+ .LSOverride
191
+
192
+ # Icon must end with two \r
193
+ Icon
194
+
195
+ # Thumbnails
196
+ ._*
197
+
198
+ # Files that might appear in the root of a volume
199
+ .DocumentRevisions-V100
200
+ .fseventsd
201
+ .Spotlight-V100
202
+ .TemporaryItems
203
+ .Trashes
204
+ .VolumeIcon.icns
205
+ .com.apple.timemachine.donotpresent
206
+
207
+ # Directories potentially created on remote AFP share
208
+ .AppleDB
209
+ .AppleDesktop
210
+ Network Trash Folder
211
+ Temporary Items
212
+ .apdisk
213
+
214
+
215
+ ### SublimeText template
216
+ # Cache files for Sublime Text
217
+ *.tmlanguage.cache
218
+ *.tmPreferences.cache
219
+ *.stTheme.cache
220
+
221
+ # Workspace files are user-specific
222
+ *.sublime-workspace
223
+
224
+ # Project files should be checked into the repository, unless a significant
225
+ # proportion of contributors will probably not be using Sublime Text
226
+ # *.sublime-project
227
+
228
+ # SFTP configuration file
229
+ sftp-config.json
230
+
231
+ # Package control specific files
232
+ Package Control.last-run
233
+ Package Control.ca-list
234
+ Package Control.ca-bundle
235
+ Package Control.system-ca-bundle
236
+ Package Control.cache/
237
+ Package Control.ca-certs/
238
+ Package Control.merged-ca-bundle
239
+ Package Control.user-ca-bundle
240
+ oscrypto-ca-bundle.crt
241
+ bh_unicode_properties.cache
242
+
243
+ # Sublime-github package stores a github token in this file
244
+ # https://packagecontrol.io/packages/sublime-github
245
+ GitHub.sublime-settings
246
+
247
+
248
+ ### Vim template
249
+ # Swap
250
+ [._]*.s[a-v][a-z]
251
+ [._]*.sw[a-p]
252
+ [._]s[a-v][a-z]
253
+ [._]sw[a-p]
254
+
255
+ # Session
256
+ Session.vim
257
+
258
+ # Temporary
259
+ .netrwhist
260
+
261
+ # Auto-generated tag files
262
+ tags
263
+
264
+
265
+ ### Project template
266
+
267
+ .pytest_cache/
268
+
269
+
270
+ .ipython/
271
+ .envs/*
272
+ !.envs/.local/
273
+ !srv/merge_dotenvs.py
274
+
275
+
276
+ .ipynb_checkpoints/
277
+ .idea/
278
+ __pycache__
279
+ venv
280
+ .*.ipynb
281
+ _*.ipynb
282
+ .ipynb_checkpoints
283
+ .history/
284
+ .var/
285
+ .tmp/
286
+ *.orig
287
+ *.zip
288
+ *.bz2
289
+ *.gz
290
+ *.xz
291
+
292
+ /srv/*.retry
293
+
294
+ # Swagger spec
295
+ /src/conf/*docs.yml
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.4
2
+ Name: ul-data-logger-api-sdk
3
+ Version: 3.0.0
4
+ Summary: Data logger API sdk
5
+ Author: Unic-lab
6
+ License-Expression: MIT
7
+ Classifier: Intended Audience :: Developers
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Programming Language :: Python
11
+ Classifier: Programming Language :: Python :: 3.14
12
+ Requires-Python: >=3.14
13
+ Requires-Dist: ul-unipipeline>=2.0.0
@@ -0,0 +1,35 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "ul-data-logger-api-sdk"
7
+ version = "3.0.0"
8
+ description = "Data logger API sdk"
9
+ license = "MIT"
10
+ requires-python = ">=3.14"
11
+ authors = [{ name = "Unic-lab" }]
12
+ classifiers = [
13
+ "Intended Audience :: Developers",
14
+ "License :: OSI Approved :: MIT License",
15
+ "Programming Language :: Python",
16
+ "Programming Language :: Python :: 3.14",
17
+ "Operating System :: OS Independent",
18
+ ]
19
+ dependencies = [
20
+ "ul-unipipeline>=2.0.0",
21
+ ]
22
+
23
+ [tool.hatch.build]
24
+ include = ["**/*.py", "**/*.yml", "**/py.typed"]
25
+ exclude = ["dist/**", "*.egg-info/**", ".gitignore", "PKG-INFO", "pyproject.toml"]
26
+
27
+ [tool.hatch.build.targets.wheel]
28
+ packages = ["."]
29
+
30
+ [tool.hatch.build.targets.wheel.sources]
31
+ "." = "data_logger_api_sdk"
32
+
33
+ [[tool.uv.index]]
34
+ url = "https://pip-cache.dev-unic-lab.by/repository/pip-cache/simple"
35
+ default = true
@@ -9,7 +9,7 @@ BASE_STATION__INACTIVITY_LIMIT = timedelta(minutes=10)
9
9
 
10
10
 
11
11
  class ApiDeviceMacsListBodyModel(BaseModel):
12
- macs: Set[int] = Field(title="Macs", description="list of device macs", min_length=1)
12
+ macs: Set[int] = Field(default_factory=set, title="Macs", description="list of device macs")
13
13
 
14
14
 
15
15
  class SdrConfigDataResponse(JsonApiResponsePayload):
@@ -1,30 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: ul-data-logger-api-sdk
3
- Version: 2.0.4
4
- Summary: Data logger API sdk
5
- Author: Unic-lab
6
- License: MIT
7
- Platform: any
8
- Classifier: Intended Audience :: Developers
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Programming Language :: Python
11
- Classifier: Programming Language :: Python :: 3.6
12
- Classifier: Programming Language :: Python :: 3.7
13
- Classifier: Programming Language :: Python :: 3.8
14
- Classifier: Programming Language :: Python :: 3.9
15
- Classifier: Operating System :: OS Independent
16
- Description-Content-Type: text/markdown
17
-
18
- # ul_iot_account_data_logger
19
-
20
- ## Restoring the db dump
21
-
22
- 1) add your dump to ./tmp
23
- 2) run bash in manager
24
- ```bash
25
- docker-compose run --rm manager__data_logger__db bash
26
- ```
27
- 3) run inside of manager
28
- ```bash
29
- pg_restore -U admin -h data_logger__db -d data_logger_db -p 5432 -1 --data-only -t device_log /temporary/dump.sql
30
- ```
@@ -1,13 +0,0 @@
1
- # ul_iot_account_data_logger
2
-
3
- ## Restoring the db dump
4
-
5
- 1) add your dump to ./tmp
6
- 2) run bash in manager
7
- ```bash
8
- docker-compose run --rm manager__data_logger__db bash
9
- ```
10
- 3) run inside of manager
11
- ```bash
12
- pg_restore -U admin -h data_logger__db -d data_logger_db -p 5432 -1 --data-only -t device_log /temporary/dump.sql
13
- ```
@@ -1,133 +0,0 @@
1
- [tool.pytest.ini_options]
2
- addopts = """
3
- --cov src \
4
- --no-cov-on-fail \
5
- --cov-report term-missing \
6
- --cov-report html:./.tmp/coverage \
7
- --maxfail=1 \
8
- --tb=short \
9
- -vvv \
10
- -ra \
11
- -q \
12
- --showlocals \
13
- -p pytest_cov"""
14
- log_cli = true
15
- cache_dir = "./.tmp/pytest-cache"
16
- testpaths = [
17
- "__tests__",
18
- ]
19
- norecursedirs = [
20
- ".*",
21
- ".git",
22
- ".tmp",
23
- "srv",
24
- "node_modules",
25
- ]
26
-
27
- [tool.mypy]
28
- plugins = [
29
- "sqlmypy",
30
- "sqlalchemy.ext.mypy.plugin",
31
- "pydantic.mypy"
32
- ]
33
- #packages = [
34
- # "src",
35
- # "__tests__",
36
- #]
37
- exclude = ["migrations"]
38
- cache_dir = "./.tmp/mypy-cache"
39
- python_version = "3.10"
40
- warn_return_any = false
41
- warn_unused_configs = true
42
- ignore_missing_imports = false
43
- follow_imports = "normal"
44
- namespace_packages = true
45
- explicit_package_bases = true
46
- follow_imports_for_stubs = true
47
- implicit_reexport = true
48
- allow_untyped_globals = false
49
- disallow_any_generics = true
50
- disallow_untyped_defs = true
51
- disallow_incomplete_defs = true
52
- check_untyped_defs = true
53
- disallow_untyped_decorators = false
54
- no_implicit_optional = true
55
- strict_optional = true
56
- warn_unused_ignores = true
57
- warn_no_return = true
58
- show_none_errors = true
59
- ignore_errors = false
60
- allow_redefinition = false
61
- strict_equality = true
62
- show_error_context = false
63
- show_column_numbers = false
64
- warn_redundant_casts = true
65
- warn_unreachable = true
66
-
67
- [tool.pydantic-mypy]
68
- init_forbid_extra = true
69
- init_typed = true
70
- warn_required_dynamic_aliases = true
71
- warn_untyped_fields = true
72
-
73
- [[tool.mypy.overrides]]
74
- module = [
75
- "sqlalchemy_serializer",
76
- "api_utils"
77
- ]
78
- ignore_missing_imports = true
79
-
80
- [tool.ruff]
81
- exclude = ["migrations"]
82
- line-length = 150
83
- target-version = "py310"
84
- cache-dir = "./.tmp/ruff-cache"
85
-
86
-
87
- [tool.ruff.lint]
88
- select = ["ALL"]
89
- ignore = ["D", "RUF001", "PGH003"]
90
- extend-ignore = [
91
- "S311", # Generated data isn't always used for cryptographic purposes
92
- "N805", # First argument of a method should be named `self` - but pydantic docs use cls
93
- "TRY003", # Avoid specifying long messages outside the exception class - but pydantic allow to use simple raise error
94
- "EM101", # Exception must not use a string literal, assign to variable first - duplicate msg? ok
95
- "S101", # Use of `assert` detected - only way to deal with paranoic mypy
96
- "PLR0913", # Too many arguments in function definition (6 > 5) - maybe good. wiil be refactored later
97
- "RUF012", # Mutable class attributes should be annotated with `typing.ClassVar` - sqlalchemy allow to mutations
98
- "G004", # Logging statement uses f-string - it's OK
99
- "UP035", # `typing.List` is deprecated, use `list` instead - yes, but `list` broke api-utils @rest_api
100
- "UP006", # Use `list` instead of `List` for type annotation - yes, but `list` broke api-utils @rest_api
101
- "ANN401", # Checks that function arguments are annotated with a more specific type than Any
102
- "ANN101", # This rule is commonly disabled because type checkers can infer this type without annotation. It will be removed in a future release
103
- "C901", # Checks for functions with a high McCabe complexity
104
- "ERA001", # Checks for commented-out Python code
105
- "ANN102", # Checks that class method cls arguments have type annotations
106
- "PGH004", # Check for noqa annotations that suppress all diagnostics, as opposed to targeting specific diagnostics
107
- "A002", # Checks for any function arguments that use the same name as a builtin
108
- "A001", # Checks for variable (and function) assignments that use the same name as a builtin
109
- "B019", # Checks for uses of the functools.lru_cache and functools.cache decorators on methods
110
- "PLW0603", # Checks for the use of global statements to update identifiers
111
- "UP033", # Checks for uses of functools.lru_cache that set maxsize=None
112
- "FIX002", # Checks for "TODO" comments
113
- "TD002", # Checks that a TODO comment includes an author
114
- "TD003", # Checks that a TODO comment is associated with a link to a relevant issue or ticket
115
- "FBT001", # Checks for the use of boolean positional arguments in function definitions, as determined by the presence of a bool type hint
116
- "PERF203", # Checks for uses of except handling via try-except within for and while loops
117
- "A005", # Checks if module shadows a Python standard-library module
118
- "C420", # Unnecessary dict comprehension for iterable; use dict.fromkeys instead
119
- "LOG015", # {}() call on root logger
120
- "TC006", # Add quotes to type expression in typing.cast()
121
- ]
122
-
123
- [tool.ruff.lint.mccabe]
124
- max-complexity = 4
125
-
126
- [tool.black]
127
- target-version = ["py310"]
128
- exclude = "migrations"
129
- #include = [
130
- # "^/src",
131
- # "^/notification_sdk",
132
- #]
133
- check = false
@@ -1,4 +0,0 @@
1
- [egg_info]
2
- tag_build =
3
- tag_date = 0
4
-
@@ -1,84 +0,0 @@
1
- import sys
2
- from pathlib import Path
3
-
4
- from setuptools import find_packages, setup
5
-
6
- HERE = Path(__file__).resolve().parent
7
-
8
- with Path.open(Path(HERE) / "README.md", encoding="utf-8") as f:
9
- long_description = f.read()
10
-
11
- if sys.argv:
12
- if "broker_sdk" in set(sys.argv):
13
- sys.argv.remove("broker_sdk")
14
- setup(
15
- name="ul-data-logger-sdk",
16
- version="3.0.4",
17
- description="Data logger sdk",
18
- author="Unic-lab",
19
- long_description=long_description,
20
- long_description_content_type="text/markdown",
21
- packages=find_packages(include=["data_logger_sdk*"]),
22
- include_package_data=True,
23
- package_data={
24
- "": ["*.yml", "py.typed"],
25
- "data_logger_sdk": ["py.typed"],
26
- },
27
- license="MIT",
28
- classifiers=[
29
- "Intended Audience :: Developers",
30
- "License :: OSI Approved :: MIT License",
31
- "Programming Language :: Python",
32
- "Programming Language :: Python :: 3.6",
33
- "Programming Language :: Python :: 3.7",
34
- "Programming Language :: Python :: 3.8",
35
- "Programming Language :: Python :: 3.9",
36
- "Operating System :: OS Independent",
37
- ],
38
- platforms="any",
39
- install_requires=[
40
- "ul-unipipeline>=2.0.0",
41
- # "ul-data-aggregator-sdk>=8.13.2",
42
- # "ul-py-tool==2.1.3,
43
- # "ul-api-utils==8.1.9",
44
- # "ul-db-utils==4.0.2",
45
- # "ul-data-gateway-sdk==1.0.6",
46
- ],
47
- )
48
- elif "api_sdk" in set(sys.argv):
49
- sys.argv.remove("api_sdk")
50
- setup(
51
- name="ul-data-logger-api-sdk",
52
- version="2.0.4",
53
- description="Data logger API sdk",
54
- author="Unic-lab",
55
- long_description=long_description,
56
- long_description_content_type="text/markdown",
57
- packages=find_packages(include=["data_logger_api_sdk*"]),
58
- include_package_data=True,
59
- package_data={
60
- "": ["*.yml", "py.typed"],
61
- "data_logger_api_sdk": ["py.typed"],
62
- },
63
- license="MIT",
64
- classifiers=[
65
- "Intended Audience :: Developers",
66
- "License :: OSI Approved :: MIT License",
67
- "Programming Language :: Python",
68
- "Programming Language :: Python :: 3.6",
69
- "Programming Language :: Python :: 3.7",
70
- "Programming Language :: Python :: 3.8",
71
- "Programming Language :: Python :: 3.9",
72
- "Operating System :: OS Independent",
73
- ],
74
- platforms="any",
75
- install_requires=[
76
- "ul-unipipeline>=2.0.0",
77
- "tqdm==4.66.1",
78
- # "ul-data-aggregator-sdk>=8.13.2",
79
- # "ul-py-tool==2.1.4,
80
- # "ul-api-utils==9.1.1",
81
- # "ul-db-utils==5.1.0",
82
- # "ul-data-gateway-sdk==1.0.6",
83
- ],
84
- )
@@ -1,30 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: ul-data-logger-api-sdk
3
- Version: 2.0.4
4
- Summary: Data logger API sdk
5
- Author: Unic-lab
6
- License: MIT
7
- Platform: any
8
- Classifier: Intended Audience :: Developers
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Programming Language :: Python
11
- Classifier: Programming Language :: Python :: 3.6
12
- Classifier: Programming Language :: Python :: 3.7
13
- Classifier: Programming Language :: Python :: 3.8
14
- Classifier: Programming Language :: Python :: 3.9
15
- Classifier: Operating System :: OS Independent
16
- Description-Content-Type: text/markdown
17
-
18
- # ul_iot_account_data_logger
19
-
20
- ## Restoring the db dump
21
-
22
- 1) add your dump to ./tmp
23
- 2) run bash in manager
24
- ```bash
25
- docker-compose run --rm manager__data_logger__db bash
26
- ```
27
- 3) run inside of manager
28
- ```bash
29
- pg_restore -U admin -h data_logger__db -d data_logger_db -p 5432 -1 --data-only -t device_log /temporary/dump.sql
30
- ```
@@ -1,18 +0,0 @@
1
- README.md
2
- pyproject.toml
3
- setup.py
4
- data_logger_api_sdk/__init__.py
5
- data_logger_api_sdk/data_logger_api_sdk.py
6
- data_logger_api_sdk/data_logger_sdk_config.py
7
- data_logger_api_sdk/py.typed
8
- data_logger_api_sdk/types/__init__.py
9
- data_logger_api_sdk/types/api_bs_traffic_stats.py
10
- data_logger_api_sdk/types/api_device_data_history.py
11
- data_logger_api_sdk/types/api_last_bs_data_by_device_macs.py
12
- data_logger_api_sdk/types/api_packet_types.py
13
- data_logger_api_sdk/types/api_protocol_types.py
14
- ul_data_logger_api_sdk.egg-info/PKG-INFO
15
- ul_data_logger_api_sdk.egg-info/SOURCES.txt
16
- ul_data_logger_api_sdk.egg-info/dependency_links.txt
17
- ul_data_logger_api_sdk.egg-info/requires.txt
18
- ul_data_logger_api_sdk.egg-info/top_level.txt
@@ -1,2 +0,0 @@
1
- ul-unipipeline>=2.0.0
2
- tqdm==4.66.1
@@ -1 +0,0 @@
1
- data_logger_api_sdk