Shared Pydantic schemas for Noyes packages
Project description
NysSchemas
Shared Pydantic schemas for Noyes packages.
Installation
pip install nys_schemas
Usage
from nys_schemas.request_schema import (
RequestResponseComposite,
RequestFilter,
FulfillmentRequestCreateInput
)
from nys_schemas.job_schema import JobResponse, JobFilter
from nys_schemas.bot_schema import Bot, BotResponse
# Use the schemas
request_filter = RequestFilter(status="ACCEPTED")
job_response = JobResponse(id="job-123", status="EXECUTING")
Development
This package is part of the Noyes monorepo. To install in development mode:
pip install -e .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nys_schemas-0.2.0.tar.gz
(12.1 kB
view details)
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_schemas-0.2.0.tar.gz.
File metadata
- Download URL: nys_schemas-0.2.0.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7098454f8e7e5fbc3d8ff05f752aee2767c154f974749924d8a25ff6bee73218
|
|
| MD5 |
fb35a4699a4575424e2c927f0c6660c7
|
|
| BLAKE2b-256 |
de6b3b507468e8f0804ebf93894a2e640c888e42ea0d6e653dbc390a384f87e7
|
File details
Details for the file nys_schemas-0.2.0-py3-none-any.whl.
File metadata
- Download URL: nys_schemas-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
790d8ae3a4054ab9ab2f29987e5509761b01528b6014dfc31da3906dda2f09ff
|
|
| MD5 |
fd38249c9ae162913c669645025c79fe
|
|
| BLAKE2b-256 |
33e8687759e8f8aaf4ff9a0dc8c7e5e4981bff0520fd5e7731b7226a9404c434
|