NatsWork Client (Python)
Client library for the NatsWork job processing system.
Installation
pip install -e .
Development
# Install with development dependencies
pip install -e ".[dev,test]"
# Run tests
pytest
# Run tests with coverage
pytest --cov=src --cov-report=html
# Format code
black src tests
# Lint code
ruff src tests
# Type check
mypy src
Status
⚠️ Under Development - Implementation pending (see docs/python/001-010.md)
This package provides the foundation for:
- Job dispatching to NATS queues
- Synchronous and asynchronous job execution
- Result handling and status tracking
- Cross-language protocol compatibility
Usage
from natswork_client import NatsWorkClient
# Coming in Task 007 - Client Interface
client = NatsWorkClient("nats://localhost:4222")
Metadata
Release files for natswork-client 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| natswork_client-0.0.1.tar.gz | 24.6 kB | Without provenance | Details for natswork_client-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| natswork_client-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for natswork_client-0.0.1-py3-none-any.whl |
Total release size: 45.3 kB
Release files / natswork_client-0.0.1.tar.gz
| Download URL | natswork_client-0.0.1.tar.gz |
|---|---|
| Size | 24.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5383389dd25ca39325b22a877b47d8b1370f1959c31b35d9a3ef3c9e2845a182
|
|
BLAKE2b-256 checksum How to use checksums |
9d1b89c9d47710c3e05c4ae218c6c2ca7ed8bd786370b2c0c1516eed1b80176a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / natswork_client-0.0.1-py3-none-any.whl
| Download URL | natswork_client-0.0.1-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7861345bfaf49ad818ce37b522a9a40c935b23d34f6030095f3a93345eeacc26
|
|
BLAKE2b-256 checksum How to use checksums |
4cfe8cfa3540cefca2e6866343ee61560fcbc3d17af64e3cb32771c0379ddec7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for natswork-client 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.