Python client library for the Noyes API
Project description
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
)
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
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 nys_client-0.2.4.tar.gz.
File metadata
- Download URL: nys_client-0.2.4.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
180d03bc0f77840f02b39f73d59765c41271bf9b9f9daae4d9e4c13ffbc9ccfd
|
|
| MD5 |
9c59f60ebb6bd63e7cd625ac841ebf04
|
|
| BLAKE2b-256 |
56a665b275da62776e2dbdee2cc1a45583b0ba1935080b66298dd93f95508c50
|
Provenance
The following attestation bundles were made for nys_client-0.2.4.tar.gz:
Publisher:
publish-pypi.yml on noyes-tech/nys_monorepo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nys_client-0.2.4.tar.gz -
Subject digest:
180d03bc0f77840f02b39f73d59765c41271bf9b9f9daae4d9e4c13ffbc9ccfd - Sigstore transparency entry: 1247182234
- Sigstore integration time:
-
Permalink:
noyes-tech/nys_monorepo@3e61f7f2adf1745c6e4b13234fa0fc959f5deff7 -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/noyes-tech
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@3e61f7f2adf1745c6e4b13234fa0fc959f5deff7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file nys_client-0.2.4-py3-none-any.whl.
File metadata
- Download URL: nys_client-0.2.4-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bac747b54d7758bbf82d89dcc233a2e1dfdd6275800a5eb6f7c65caf182d2b0
|
|
| MD5 |
0fe22e6b150fa333a11a83ff77d7b469
|
|
| BLAKE2b-256 |
f50a0a3e1038de35c79c9e68c1fb0b8d1407e3681f8b0a66e78765a70addc08a
|
Provenance
The following attestation bundles were made for nys_client-0.2.4-py3-none-any.whl:
Publisher:
publish-pypi.yml on noyes-tech/nys_monorepo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nys_client-0.2.4-py3-none-any.whl -
Subject digest:
5bac747b54d7758bbf82d89dcc233a2e1dfdd6275800a5eb6f7c65caf182d2b0 - Sigstore transparency entry: 1247182242
- Sigstore integration time:
-
Permalink:
noyes-tech/nys_monorepo@3e61f7f2adf1745c6e4b13234fa0fc959f5deff7 -
Branch / Tag:
refs/heads/develop - Owner: https://github.com/noyes-tech
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@3e61f7f2adf1745c6e4b13234fa0fc959f5deff7 -
Trigger Event:
push
-
Statement type: