Skip to main content

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


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.1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

nys_schemas-0.1.0-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

Details for the file nys_schemas-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for nys_schemas-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1fe44d37e0166230b7a1fd1e307651e3c3140db7a032868ff82bd77a4fb78d13
MD5 e23a52936e4b6822de6249c5bab1e928
BLAKE2b-256 370812ada6ade893ab8d53b383f489024df9904e262f1a3f7ec4108468b1b1fc

See more details on using hashes here.

File details

Details for the file nys_schemas-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: nys_schemas-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for nys_schemas-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a886cb52315b0648c836dfc2776e4eab955adf3cff4a877ae7df4d1c3e7a706
MD5 5388e2bc9575a190a26aa149fa19822a
BLAKE2b-256 d541a5b5ae00c0bb8dcefd044c8ae21afd43de160978f8e77562ae7ee76e9238

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