Skip to main content

NysClient

A Python client library for the Noyes API.

Installation

pip install nys-client

Usage

from nys_client import NysClient, RequestType, TriggerStatus

# Initialize client
client = NysClient(api_key="your_api_key")

# Get requests with filtering
requests = client.requests.search(
    filters={"status": "ACCEPTED", "type": "FULFILLMENT"},
    sort_by="-created_at"
)

# Create a new request
new_request = client.requests.create_fulfillment(
    entities=[("SKU123", 1)],
    priority=10
)

# Get jobs with search
jobs = client.jobs.search(
    filters={"status__eq": "EXECUTING", "type__eq": "PICKING"}
)

# Trigger a job
client.jobs.trigger(
    job_id="job-uuid",
    trigger_status=TriggerStatus.SUCCEEDED_TRIGGER
)

0.5.1

Supports nys_schemas 0.5.x and 0.6.x. With schema 0.6.x, bot responses include the optional charging_protected_until_utc timestamp; older server responses remain supported.

Optional request entity IDs

Typed Fulfillment, Replenishment and Fetch entities can supply entity_id when the server supports public request line IDs. Omitting the ID (including explicit None) keeps the existing request payload compatible with older servers. The server assigns zero-based positional IDs; the client does not generate or send implicit IDs. Existing SKU tuple and carrier string call forms are unchanged.

Custom IDs require an engine with this feature; older servers reject that field.

Metadata

Release files for nys-client 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nys-client 0.6.1
File Size Uploaded Provenance Actions
nys_client-0.6.1.tar.gz 14.8 kB With provenance Details for nys_client-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nys-client 0.6.1
File Interpreter ABI Platform Actions
nys_client-0.6.1-py3-none-any.whl Python 3 none any Details for nys_client-0.6.1-py3-none-any.whl

Total release size: 35.6 kB

Release files / nys_client-0.6.1.tar.gz

Download URL nys_client-0.6.1.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f7ec463d820403626362c5eb944f64d02b60ca6bb94f9e96dd4bb4268b31f4f6
BLAKE2b-256 checksum
How to use checksums
45e35542806ac3a631c58151c8bf2f42517ea23ea6a41da8a7f85208fe854911
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / nys_client-0.6.1-py3-none-any.whl

Download URL nys_client-0.6.1-py3-none-any.whl
Size 20.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5dd2ebb69251353e0e38720a0ac0aa5f29133d8473702fe56f2ae51078e437e8
BLAKE2b-256 checksum
How to use checksums
586e271279e81f09fb34990c247fbf7f4116ce4349c07b42e534bdb4846a73fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for nys-client 0.6.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nys_client-0.6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page