Project description
Better analyze information, in all its forms
Documentation: https://icij.github.io/datashare-python
Implement your own Datashare tasks, written in Python
Most AI, Machine Learning, Data Engineering happens in Python.
Datashare now lets you extend its backend with your own tasks implemented in Python.
Turning your own ML pipelines into Datashare tasks is very simple, learn about it inside documentation.
Turning your own ML pipelines into Datashare tasks is very simple.
Actually, it's almost as simple as cloning our template repo:
$ git clone git@github.com:ICIJ/datashare-python.git
replacing existing app tasks with your own:
from icij_worker import AsyncApp
app = AsyncApp("app")
@app.task
def hello_world() -> str:
return "Hello world"
installing uv to set up dependencies and running your async Datashare worker:
$ cd datashare-python
$ curl -LsSf https://astral.sh/uv/install.sh | sh
$ uv run ./scripts/worker_entrypoint.sh
[INFO][icij_worker.backend.backend]: Loading worker configuration from env...
...
}
[INFO][icij_worker.backend.mp]: starting 1 worker for app datashare_python.app.app
...
you'll then be able to execute task by starting using our HTTP client (and soon using Datashare's UI).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datashare_python-0.1.0.tar.gz.
File metadata
-
Download URL: datashare_python-0.1.0.tar.gz
- Upload date:
-
Size: 19.2 kB
- Tags: Source
-
Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Hashes for datashare_python-0.1.0.tar.gz
| Algorithm |
Hash digest |
|
| SHA256 |
8d441dd61b50313c0b8a4f4c3cca212cf5b2178f929bfe36f12491fbe18f7c12
|
|
| MD5 |
8464a82d7c2876f9c604a2d2442c3e1d
|
|
| BLAKE2b-256 |
99684c4d147277a2a6f3d23cf0e6ffa62539ea7a335ef40bcbf89c8f39a2dfda
|
|
See more details on using hashes here.
Provenance
The following attestation bundles were made for datashare_python-0.1.0.tar.gz:
Publisher:
publish.yml on ICIJ/datashare-python
Attestations:
Values shown here reflect the state when the release was signed and may no longer be current.
-
Statement:
Source repository:
Publication detail:
File details
Details for the file datashare_python-0.1.0-py3-none-any.whl.
File metadata
File hashes
Hashes for datashare_python-0.1.0-py3-none-any.whl
| Algorithm |
Hash digest |
|
| SHA256 |
9283a17f2d20d50abd0dfb6b0633169dfd7e07a968433c5b6ec45c48786e4215
|
|
| MD5 |
7cce6d4510b76d3cc6aaacc5e67fb033
|
|
| BLAKE2b-256 |
165b5b0642fd5e4957b18e7f436b2792a0c0fc7fb17024bdd0f08219faa8a6de
|
|
See more details on using hashes here.
Provenance
The following attestation bundles were made for datashare_python-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on ICIJ/datashare-python
Attestations:
Values shown here reflect the state when the release was signed and may no longer be current.
-
Statement:
Source repository:
Publication detail: