tonik 0.1.17__tar.gz → 0.1.19__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. {tonik-0.1.17 → tonik-0.1.19}/.devcontainer/devcontainer.json +4 -4
  2. tonik-0.1.19/.gitattributes +2 -0
  3. {tonik-0.1.17 → tonik-0.1.19}/.gitignore +3 -1
  4. {tonik-0.1.17 → tonik-0.1.19}/PKG-INFO +5 -3
  5. tonik-0.1.19/pixi.lock +4050 -0
  6. {tonik-0.1.17 → tonik-0.1.19}/pyproject.toml +23 -4
  7. {tonik-0.1.17 → tonik-0.1.19}/src/tonik/storage.py +4 -4
  8. {tonik-0.1.17 → tonik-0.1.19}/src/tonik/xarray2netcdf.py +47 -14
  9. {tonik-0.1.17 → tonik-0.1.19}/src/tonik/xarray2zarr.py +77 -3
  10. {tonik-0.1.17 → tonik-0.1.19}/tests/test_save.py +48 -3
  11. {tonik-0.1.17 → tonik-0.1.19}/tests/test_storage.py +5 -4
  12. {tonik-0.1.17 → tonik-0.1.19}/HOW_TO_RELEASE.md +0 -0
  13. {tonik-0.1.17 → tonik-0.1.19}/LICENSE +0 -0
  14. {tonik-0.1.17 → tonik-0.1.19}/README.md +0 -0
  15. {tonik-0.1.17 → tonik-0.1.19}/grafana_example/Dockerfile_api +0 -0
  16. {tonik-0.1.17 → tonik-0.1.19}/grafana_example/Dockerfile_grafana +0 -0
  17. {tonik-0.1.17 → tonik-0.1.19}/grafana_example/dashboards/demo_dashboard.json +0 -0
  18. {tonik-0.1.17 → tonik-0.1.19}/grafana_example/docker-compose.yml +0 -0
  19. {tonik-0.1.17 → tonik-0.1.19}/grafana_example/grafana.ini +0 -0
  20. {tonik-0.1.17 → tonik-0.1.19}/grafana_example/provisioning/dashboards/default.yaml +0 -0
  21. {tonik-0.1.17 → tonik-0.1.19}/grafana_example/provisioning/datasources/default.yaml +0 -0
  22. {tonik-0.1.17 → tonik-0.1.19}/mkdocs.yml +0 -0
  23. {tonik-0.1.17 → tonik-0.1.19}/pyproject.toml~ +0 -0
  24. {tonik-0.1.17 → tonik-0.1.19}/src/tonik/__init__.py +0 -0
  25. {tonik-0.1.17 → tonik-0.1.19}/src/tonik/api.py +0 -0
  26. {tonik-0.1.17 → tonik-0.1.19}/src/tonik/grafana_annotations.py +0 -0
  27. {tonik-0.1.17 → tonik-0.1.19}/src/tonik/package_data/index.html +0 -0
  28. {tonik-0.1.17 → tonik-0.1.19}/src/tonik/package_data/whakaari_labels.json +0 -0
  29. {tonik-0.1.17 → tonik-0.1.19}/src/tonik/utils.py +0 -0
  30. {tonik-0.1.17 → tonik-0.1.19}/tests/backend_speed_test.py +0 -0
  31. {tonik-0.1.17 → tonik-0.1.19}/tests/conftest.py +0 -0
  32. {tonik-0.1.17 → tonik-0.1.19}/tests/test_api.py +0 -0
  33. {tonik-0.1.17 → tonik-0.1.19}/tests/test_utils.py +0 -0
@@ -3,15 +3,15 @@
3
3
  {
4
4
  "name": "Tonik",
5
5
  // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6
- "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
7
-
6
+ // "image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
7
+ "image": "mcr.microsoft.com/devcontainers/python:3.11-bullseye",
8
8
 
9
9
  // Features to add to the dev container. More info: https://containers.dev/features.
10
10
  // "features": {},
11
11
 
12
12
  // Use 'forwardPorts' to make a list of ports inside the container available locally.
13
- "forwardPorts": [8000],
14
- "appPort": ["8000:8000"],
13
+ // "forwardPorts": [8003],
14
+ // "appPort": ["8003:8003"],
15
15
 
16
16
  // Use 'postCreateCommand' to run commands after the container is created.
17
17
  "postCreateCommand": "pip3 install -e . && pip3 install httpx pytest ipykernel hatch",
@@ -0,0 +1,2 @@
1
+ # SCM syntax highlighting & preventing 3-way merges
2
+ pixi.lock merge=binary linguist-language=YAML linguist-generated=true
@@ -5,4 +5,6 @@ tonik.log
5
5
  .vscode
6
6
  *.nfs*
7
7
  .gitignore
8
- site/
8
+ site/
9
+ .pixi/*
10
+ !.pixi/config.toml
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tonik
3
- Version: 0.1.17
3
+ Version: 0.1.19
4
4
  Summary: Store time series data as HDF5 files and access them through an API.
5
5
  Project-URL: Homepage, https://tsc-tools.github.io/tonik
6
6
  Project-URL: Issues, https://github.com/tsc-tools/tonik/issues
@@ -21,15 +21,17 @@ Requires-Dist: python-json-logger>=2.0
21
21
  Requires-Dist: s3fs
22
22
  Requires-Dist: uvicorn[standard]>=0.22
23
23
  Requires-Dist: xarray[accel,io,parallel]
24
- Requires-Dist: zarr[remote-tests]<3; python_version < '3.11'
25
- Requires-Dist: zarr[remote-tests]>=3.0.3; python_version >= '3.11'
24
+ Requires-Dist: zarr
26
25
  Provides-Extra: dev
26
+ Requires-Dist: build; extra == 'dev'
27
27
  Requires-Dist: httpx; extra == 'dev'
28
28
  Requires-Dist: ipykernel; extra == 'dev'
29
29
  Requires-Dist: mkdocs; extra == 'dev'
30
30
  Requires-Dist: mkdocs-jupyter; extra == 'dev'
31
31
  Requires-Dist: mkdocstrings[python]; extra == 'dev'
32
32
  Requires-Dist: pytest; extra == 'dev'
33
+ Requires-Dist: twine; extra == 'dev'
34
+ Requires-Dist: zarr[remote-tests]; extra == 'dev'
33
35
  Description-Content-Type: text/markdown
34
36
 
35
37
  # Tonik