tonik 0.1.9__py3-none-any.whl → 0.1.10__py3-none-any.whl
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.
- tonik/api.py +3 -1
- {tonik-0.1.9.dist-info → tonik-0.1.10.dist-info}/METADATA +2 -2
- tonik-0.1.10.dist-info/RECORD +12 -0
- tonik-0.1.9.dist-info/RECORD +0 -12
- {tonik-0.1.9.dist-info → tonik-0.1.10.dist-info}/WHEEL +0 -0
- {tonik-0.1.9.dist-info → tonik-0.1.10.dist-info}/entry_points.txt +0 -0
- {tonik-0.1.9.dist-info → tonik-0.1.10.dist-info}/licenses/LICENSE +0 -0
tonik/api.py
CHANGED
|
@@ -162,9 +162,11 @@ class TonikAPI:
|
|
|
162
162
|
def main(argv=None):
|
|
163
163
|
parser = ArgumentParser()
|
|
164
164
|
parser.add_argument("--rootdir", default='/tmp')
|
|
165
|
+
parser.add_argument("-p", "--port", default=8003, type=int)
|
|
166
|
+
parser.add_argument("--host", default='0.0.0.0')
|
|
165
167
|
args = parser.parse_args(argv)
|
|
166
168
|
ta = TonikAPI(args.rootdir)
|
|
167
|
-
uvicorn.run(ta.app, host=
|
|
169
|
+
uvicorn.run(ta.app, host=args.host, port=args.port)
|
|
168
170
|
|
|
169
171
|
|
|
170
172
|
if __name__ == "__main__":
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: tonik
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.10
|
|
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
|
|
@@ -11,7 +11,7 @@ Classifier: Operating System :: OS Independent
|
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Requires-Python: >=3.7
|
|
13
13
|
Requires-Dist: datashader>=0.14
|
|
14
|
-
Requires-Dist: fastapi>=0.
|
|
14
|
+
Requires-Dist: fastapi>=0.112
|
|
15
15
|
Requires-Dist: h5netcdf>=1.1
|
|
16
16
|
Requires-Dist: h5py>=3.8
|
|
17
17
|
Requires-Dist: matplotlib
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
tonik/__init__.py,sha256=ZBVGh4dm_l9xwiBGb33O5QV9MfZeNiEd3DBDAm6DiHk,511
|
|
2
|
+
tonik/api.py,sha256=JaKHzavqYDjZo2DypTHgAaM01Y4EOkn6UF3ZVm50F5k,6694
|
|
3
|
+
tonik/storage.py,sha256=GNJ6w9VHOeTR_ZJMZ-Ipqe3nFK2I91fkHYwg1k9bEuo,9470
|
|
4
|
+
tonik/utils.py,sha256=3nSRU_GnV6arP4e63YHn4oEV8XbqzVAW8FCvQVIwGdg,2757
|
|
5
|
+
tonik/xarray2netcdf.py,sha256=RUsPwPDEOnUIMGt7_9F1VDyg83zu8x-Qs3jmZs3Dq0o,5173
|
|
6
|
+
tonik/xarray2zarr.py,sha256=xJjKcFZF0oz6gw47apuCiXFtW5HgWqnZgiIuEVQHhBI,2363
|
|
7
|
+
tonik/package_data/index.html,sha256=GKDClUhIam_fAYbNfzAolORhSCG3ae1wW3VjWCg4PMk,2732
|
|
8
|
+
tonik-0.1.10.dist-info/METADATA,sha256=gDvofXsP2pnRFDcwYzCd67dZ6BC0GGBDtdC_sn71k7o,1940
|
|
9
|
+
tonik-0.1.10.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
10
|
+
tonik-0.1.10.dist-info/entry_points.txt,sha256=VnGfC5qAzpntEHAb5pooUEpYABSgOfQoNhCEtLDJyf8,45
|
|
11
|
+
tonik-0.1.10.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
12
|
+
tonik-0.1.10.dist-info/RECORD,,
|
tonik-0.1.9.dist-info/RECORD
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
tonik/__init__.py,sha256=ZBVGh4dm_l9xwiBGb33O5QV9MfZeNiEd3DBDAm6DiHk,511
|
|
2
|
-
tonik/api.py,sha256=RhESsP5JI6GTdz_XwoVok-mprWUtkPxtTfW8suEak3Y,6572
|
|
3
|
-
tonik/storage.py,sha256=GNJ6w9VHOeTR_ZJMZ-Ipqe3nFK2I91fkHYwg1k9bEuo,9470
|
|
4
|
-
tonik/utils.py,sha256=3nSRU_GnV6arP4e63YHn4oEV8XbqzVAW8FCvQVIwGdg,2757
|
|
5
|
-
tonik/xarray2netcdf.py,sha256=RUsPwPDEOnUIMGt7_9F1VDyg83zu8x-Qs3jmZs3Dq0o,5173
|
|
6
|
-
tonik/xarray2zarr.py,sha256=xJjKcFZF0oz6gw47apuCiXFtW5HgWqnZgiIuEVQHhBI,2363
|
|
7
|
-
tonik/package_data/index.html,sha256=GKDClUhIam_fAYbNfzAolORhSCG3ae1wW3VjWCg4PMk,2732
|
|
8
|
-
tonik-0.1.9.dist-info/METADATA,sha256=vzVUzQ3ZGqEJiIUd3MGZnFnDJE_7dQxcbHTwi3NLEDc,1938
|
|
9
|
-
tonik-0.1.9.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
10
|
-
tonik-0.1.9.dist-info/entry_points.txt,sha256=VnGfC5qAzpntEHAb5pooUEpYABSgOfQoNhCEtLDJyf8,45
|
|
11
|
-
tonik-0.1.9.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
12
|
-
tonik-0.1.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|