datashare-python 0.2.11__tar.gz → 0.2.12__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 (38) hide show
  1. {datashare_python-0.2.11 → datashare_python-0.2.12}/PKG-INFO +2 -2
  2. {datashare_python-0.2.11 → datashare_python-0.2.12}/pyproject.toml +3 -4
  3. {datashare_python-0.2.11 → datashare_python-0.2.12}/uv.lock +42 -44
  4. {datashare_python-0.2.11 → datashare_python-0.2.12}/.gitignore +0 -0
  5. {datashare_python-0.2.11 → datashare_python-0.2.12}/README.md +0 -0
  6. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/.gitignore +0 -0
  7. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/__init__.py +0 -0
  8. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/__main__.py +0 -0
  9. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/cli/__init__.py +0 -0
  10. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/cli/local.py +0 -0
  11. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/cli/project.py +0 -0
  12. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/cli/task.py +0 -0
  13. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/cli/utils.py +0 -0
  14. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/cli/worker.py +0 -0
  15. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/config.py +0 -0
  16. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/conftest.py +0 -0
  17. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/constants.py +0 -0
  18. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/dependencies.py +0 -0
  19. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/discovery.py +0 -0
  20. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/exceptions.py +0 -0
  21. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/local_client.py +0 -0
  22. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/objects.py +0 -0
  23. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/task_client.py +0 -0
  24. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/template.py +0 -0
  25. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/types_.py +0 -0
  26. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/utils.py +0 -0
  27. {datashare_python-0.2.11 → datashare_python-0.2.12}/datashare_python/worker.py +0 -0
  28. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/__init__.py +0 -0
  29. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/cli/test_project.py +0 -0
  30. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/cli/test_tasks.py +0 -0
  31. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/cli/test_worker.py +0 -0
  32. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/conftest.py +0 -0
  33. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/test_discovery.py +0 -0
  34. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/test_object.py +0 -0
  35. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/test_task_client.py +0 -0
  36. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/test_template.py +0 -0
  37. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/test_utils.py +0 -0
  38. {datashare_python-0.2.11 → datashare_python-0.2.12}/tests/test_worker.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datashare-python
3
- Version: 0.2.11
3
+ Version: 0.2.12
4
4
  Summary: Manage Python tasks and local resources in Datashare
5
5
  Project-URL: Homepage, https://icij.github.io/datashare-python/
6
6
  Project-URL: Documentation, https://icij.github.io/datashare-python/
@@ -11,10 +11,10 @@ Requires-Python: <4,>=3.11
11
11
  Requires-Dist: aiohttp~=3.11.9
12
12
  Requires-Dist: aiostream~=0.6.4
13
13
  Requires-Dist: alive-progress~=3.2.0
14
+ Requires-Dist: datashare-worker-template
14
15
  Requires-Dist: icij-common[elasticsearch]~=0.7.3
15
16
  Requires-Dist: nest-asyncio~=1.6.0
16
17
  Requires-Dist: python-json-logger~=4.0.0
17
18
  Requires-Dist: temporalio~=1.23.0
18
19
  Requires-Dist: tomlkit>=0.14.0
19
20
  Requires-Dist: typer~=0.15.4
20
- Requires-Dist: worker-template
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "datashare-python"
3
- version = "0.2.11"
3
+ version = "0.2.12"
4
4
  description = "Manage Python tasks and local resources in Datashare"
5
5
  authors = [
6
6
  { name = "Clément Doumouro", email = "cdoumouro@icij.org" },
@@ -18,7 +18,7 @@ dependencies = [
18
18
  "nest-asyncio~=1.6.0",
19
19
  "temporalio~=1.23.0",
20
20
  "typer~=0.15.4",
21
- "worker-template",
21
+ "datashare-worker-template",
22
22
  "tomlkit>=0.14.0",
23
23
  ]
24
24
 
@@ -45,7 +45,7 @@ artifacts = [
45
45
  package = true
46
46
 
47
47
  [tool.uv.sources]
48
- worker-template = { path = "../worker-template", editable = true }
48
+ datashare-worker-template = { path = "../worker-template", editable = true }
49
49
 
50
50
  [dependency-groups]
51
51
  dev = [
@@ -59,7 +59,6 @@ dev = [
59
59
  "redis[hiredis]~=5.2.1",
60
60
  "ruff==0.15.2",
61
61
  "typing-extensions~=4.15.0",
62
- "worker-template",
63
62
  ]
64
63
 
65
64
  [tool.pytest.ini_options]
@@ -304,19 +304,19 @@ wheels = [
304
304
 
305
305
  [[package]]
306
306
  name = "datashare-python"
307
- version = "0.2.11"
307
+ version = "0.2.12"
308
308
  source = { editable = "." }
309
309
  dependencies = [
310
310
  { name = "aiohttp" },
311
311
  { name = "aiostream" },
312
312
  { name = "alive-progress" },
313
+ { name = "datashare-worker-template" },
313
314
  { name = "icij-common", extra = ["elasticsearch"] },
314
315
  { name = "nest-asyncio" },
315
316
  { name = "python-json-logger" },
316
317
  { name = "temporalio" },
317
318
  { name = "tomlkit" },
318
319
  { name = "typer" },
319
- { name = "worker-template" },
320
320
  ]
321
321
 
322
322
  [package.dev-dependencies]
@@ -331,7 +331,6 @@ dev = [
331
331
  { name = "redis", extra = ["hiredis"] },
332
332
  { name = "ruff" },
333
333
  { name = "typing-extensions" },
334
- { name = "worker-template" },
335
334
  ]
336
335
 
337
336
  [package.metadata]
@@ -339,13 +338,13 @@ requires-dist = [
339
338
  { name = "aiohttp", specifier = "~=3.11.9" },
340
339
  { name = "aiostream", specifier = "~=0.6.4" },
341
340
  { name = "alive-progress", specifier = "~=3.2.0" },
341
+ { name = "datashare-worker-template", editable = "../worker-template" },
342
342
  { name = "icij-common", extras = ["elasticsearch"], specifier = "~=0.7.3" },
343
343
  { name = "nest-asyncio", specifier = "~=1.6.0" },
344
344
  { name = "python-json-logger", specifier = "~=4.0.0" },
345
345
  { name = "temporalio", specifier = "~=1.23.0" },
346
346
  { name = "tomlkit", specifier = ">=0.14.0" },
347
347
  { name = "typer", specifier = "~=0.15.4" },
348
- { name = "worker-template", editable = "../worker-template" },
349
348
  ]
350
349
 
351
350
  [package.metadata.requires-dev]
@@ -360,7 +359,45 @@ dev = [
360
359
  { name = "redis", extras = ["hiredis"], specifier = "~=5.2.1" },
361
360
  { name = "ruff", specifier = "==0.15.2" },
362
361
  { name = "typing-extensions", specifier = "~=4.15.0" },
363
- { name = "worker-template", editable = "../worker-template" },
362
+ ]
363
+
364
+ [[package]]
365
+ name = "datashare-worker-template"
366
+ version = "0.1.1"
367
+ source = { editable = "../worker-template" }
368
+ dependencies = [
369
+ { name = "datashare-python" },
370
+ { name = "icij-common", extra = ["elasticsearch"] },
371
+ { name = "pycountry" },
372
+ { name = "temporalio" },
373
+ ]
374
+
375
+ [package.metadata]
376
+ requires-dist = [
377
+ { name = "datashare-python", editable = "." },
378
+ { name = "icij-common", extras = ["elasticsearch"], specifier = "~=0.7.3" },
379
+ { name = "pycountry", specifier = "~=26.2.16" },
380
+ { name = "sentencepiece", marker = "extra == 'ml'", specifier = "~=0.2.1" },
381
+ { name = "temporalio", specifier = "~=1.23.0" },
382
+ { name = "torch", marker = "extra == 'ml'", specifier = "~=2.9.1", index = "https://download.pytorch.org/whl/cpu" },
383
+ { name = "transformers", marker = "extra == 'ml'", specifier = "~=4.46.3" },
384
+ ]
385
+ provides-extras = ["ml"]
386
+
387
+ [package.metadata.requires-dev]
388
+ dev = [
389
+ { name = "black", specifier = ">=26.1.0" },
390
+ { name = "datashare-python", editable = "." },
391
+ { name = "nest-asyncio", specifier = ">=1.6.0" },
392
+ { name = "pre-commit", specifier = ">=4.5.1" },
393
+ { name = "psutil", specifier = ">=6.1.0" },
394
+ { name = "pylint", specifier = "~=3.1.0" },
395
+ { name = "pytest", specifier = "~=8.1" },
396
+ { name = "pytest-asyncio", specifier = "~=0.24" },
397
+ { name = "pytest-timeout", specifier = "==2.4.0" },
398
+ { name = "redis", extras = ["hiredis"], specifier = ">=5.2.1" },
399
+ { name = "ruff", specifier = "==0.15.2" },
400
+ { name = "typing-extensions", specifier = ">=4.15.0" },
364
401
  ]
365
402
 
366
403
  [[package]]
@@ -2159,45 +2196,6 @@ wheels = [
2159
2196
  { url = "https://files.pythonhosted.org/packages/68/5a/199c59e0a824a3db2b89c5d2dade7ab5f9624dbf6448dc291b46d5ec94d3/wcwidth-0.6.0-py3-none-any.whl", hash = "sha256:1a3a1e510b553315f8e146c54764f4fb6264ffad731b3d78088cdb1478ffbdad", size = 94189, upload-time = "2026-02-06T19:19:39.646Z" },
2160
2197
  ]
2161
2198
 
2162
- [[package]]
2163
- name = "worker-template"
2164
- version = "0.1.1"
2165
- source = { editable = "../worker-template" }
2166
- dependencies = [
2167
- { name = "datashare-python" },
2168
- { name = "icij-common", extra = ["elasticsearch"] },
2169
- { name = "pycountry" },
2170
- { name = "temporalio" },
2171
- ]
2172
-
2173
- [package.metadata]
2174
- requires-dist = [
2175
- { name = "datashare-python", editable = "." },
2176
- { name = "icij-common", extras = ["elasticsearch"], specifier = "~=0.7.3" },
2177
- { name = "pycountry", specifier = "~=26.2.16" },
2178
- { name = "sentencepiece", marker = "extra == 'ml'", specifier = "~=0.2.1" },
2179
- { name = "temporalio", specifier = "~=1.23.0" },
2180
- { name = "torch", marker = "extra == 'ml'", specifier = "~=2.9.1", index = "https://download.pytorch.org/whl/cpu" },
2181
- { name = "transformers", marker = "extra == 'ml'", specifier = "~=4.46.3" },
2182
- ]
2183
- provides-extras = ["ml"]
2184
-
2185
- [package.metadata.requires-dev]
2186
- dev = [
2187
- { name = "black", specifier = ">=26.1.0" },
2188
- { name = "datashare-python", editable = "." },
2189
- { name = "nest-asyncio", specifier = ">=1.6.0" },
2190
- { name = "pre-commit", specifier = ">=4.5.1" },
2191
- { name = "psutil", specifier = ">=6.1.0" },
2192
- { name = "pylint", specifier = "~=3.1.0" },
2193
- { name = "pytest", specifier = "~=8.1" },
2194
- { name = "pytest-asyncio", specifier = "~=0.24" },
2195
- { name = "pytest-timeout", specifier = "==2.4.0" },
2196
- { name = "redis", extras = ["hiredis"], specifier = ">=5.2.1" },
2197
- { name = "ruff", specifier = "==0.15.2" },
2198
- { name = "typing-extensions", specifier = ">=4.15.0" },
2199
- ]
2200
-
2201
2199
  [[package]]
2202
2200
  name = "wrapt"
2203
2201
  version = "2.1.1"