Skip to main content

Client library for NatsWork job processing system

Project description

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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

natswork_client-0.0.1.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

natswork_client-0.0.1-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file natswork_client-0.0.1.tar.gz.

File metadata

  • Download URL: natswork_client-0.0.1.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for natswork_client-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5383389dd25ca39325b22a877b47d8b1370f1959c31b35d9a3ef3c9e2845a182
MD5 6f06e7de08685fc11bfec5e0209ee971
BLAKE2b-256 9d1b89c9d47710c3e05c4ae218c6c2ca7ed8bd786370b2c0c1516eed1b80176a

See more details on using hashes here.

File details

Details for the file natswork_client-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for natswork_client-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7861345bfaf49ad818ce37b522a9a40c935b23d34f6030095f3a93345eeacc26
MD5 65bc9a5cad648eb379ebe9edbc8df785
BLAKE2b-256 4cfe8cfa3540cefca2e6866343ee61560fcbc3d17af64e3cb32771c0379ddec7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page