datashare-python 0.1.0__tar.gz → 0.1.3__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 (26) hide show
  1. {datashare_python-0.1.0 → datashare_python-0.1.3}/PKG-INFO +6 -2
  2. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/__main__.py +6 -1
  3. {datashare_python-0.1.0 → datashare_python-0.1.3}/pyproject.toml +11 -2
  4. {datashare_python-0.1.0 → datashare_python-0.1.3}/README.md +0 -0
  5. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/__init__.py +0 -0
  6. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/app.py +0 -0
  7. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/cli/__init__.py +0 -0
  8. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/cli/tasks.py +0 -0
  9. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/cli/utils.py +0 -0
  10. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/config.py +0 -0
  11. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/constants.py +0 -0
  12. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/objects.py +0 -0
  13. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/task_client.py +0 -0
  14. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/tasks/__init__.py +0 -0
  15. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/tasks/classify_docs.py +0 -0
  16. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/tasks/dependencies.py +0 -0
  17. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/tasks/translate_docs.py +0 -0
  18. {datashare_python-0.1.0 → datashare_python-0.1.3}/datashare_python/utils.py +0 -0
  19. {datashare_python-0.1.0 → datashare_python-0.1.3}/tests/__init__.py +0 -0
  20. {datashare_python-0.1.0 → datashare_python-0.1.3}/tests/cli/__init__.py +0 -0
  21. {datashare_python-0.1.0 → datashare_python-0.1.3}/tests/cli/test_tasks.py +0 -0
  22. {datashare_python-0.1.0 → datashare_python-0.1.3}/tests/conftest.py +0 -0
  23. {datashare_python-0.1.0 → datashare_python-0.1.3}/tests/tasks/test_translate_docs.py +0 -0
  24. {datashare_python-0.1.0 → datashare_python-0.1.3}/tests/test_task_client.py +0 -0
  25. {datashare_python-0.1.0 → datashare_python-0.1.3}/tests/test_tasks.py +0 -0
  26. {datashare_python-0.1.0 → datashare_python-0.1.3}/tests/test_utils.py +0 -0
@@ -1,13 +1,17 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: datashare-python
3
- Version: 0.1.0
3
+ Version: 0.1.3
4
4
  Summary: Implement Datashare task in Python
5
5
  Author-Email: =?utf-8?q?Cl=C3=A9ment_Doumouro?= <cdoumouro@icij.org>, =?utf-8?q?Cl=C3=A9ment_Doumouro?= <clement.doumouro@gmail.com>
6
+ Project-URL: Homepage, https://icij.github.io/datashare-python/
7
+ Project-URL: Documentation, https://icij.github.io/datashare-python/
8
+ Project-URL: Repository, https://github.com/ICIJ/datashare-python
9
+ Project-URL: Issues, https://github.com/ICIJ/datashare-python/issues
6
10
  Requires-Python: ~=3.11
7
11
  Requires-Dist: aiostream~=0.6.4
8
12
  Requires-Dist: aiohttp~=3.11.9
9
13
  Requires-Dist: icij-common[elasticsearch]~=0.5.5
10
- Requires-Dist: icij-worker[amqp]~=0.12
14
+ Requires-Dist: icij-worker[amqp]~=0.13
11
15
  Requires-Dist: torch==2.6.0.dev20241101; sys_platform != "darwin"
12
16
  Requires-Dist: torch!=2.6.0.dev20241101+cpu,<=2.6.0.dev20241101; sys_platform == "darwin"
13
17
  Requires-Dist: transformers~=4.46.3
@@ -1,4 +1,9 @@
1
1
  from datashare_python.cli import cli_app
2
2
 
3
- if __name__ == "__main__":
3
+
4
+ def main():
4
5
  cli_app()
6
+
7
+
8
+ if __name__ == "__main__":
9
+ main()
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "datashare-python"
3
- version = "0.1.0"
3
+ version = "0.1.3"
4
4
  description = "Implement Datashare task in Python"
5
5
  authors = [
6
6
  { name = "Clément Doumouro", email = "cdoumouro@icij.org" },
@@ -12,7 +12,7 @@ dependencies = [
12
12
  "aiostream~=0.6.4",
13
13
  "aiohttp~=3.11.9",
14
14
  "icij-common[elasticsearch]~=0.5.5",
15
- "icij-worker[amqp]~=0.12",
15
+ "icij-worker[amqp]~=0.13",
16
16
  "torch==2.6.0.dev20241101 ; sys_platform != 'darwin'",
17
17
  "torch!=2.6.0.dev20241101+cpu,<=2.6.0.dev20241101; sys_platform == 'darwin'",
18
18
  "transformers~=4.46.3",
@@ -22,6 +22,15 @@ dependencies = [
22
22
  "alive-progress>=3.2.0",
23
23
  ]
24
24
 
25
+ [project.urls]
26
+ Homepage = "https://icij.github.io/datashare-python/"
27
+ Documentation = "https://icij.github.io/datashare-python/"
28
+ Repository = "https://github.com/ICIJ/datashare-python"
29
+ Issues = "https://github.com/ICIJ/datashare-python/issues"
30
+
31
+ [project.scripts]
32
+ datashare-python = "datashare_python.__main__:main"
33
+
25
34
  [build-system]
26
35
  requires = [
27
36
  "pdm-backend",