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.2.0.tar.gz (12.1 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.2.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

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

Hashes for nys_schemas-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7098454f8e7e5fbc3d8ff05f752aee2767c154f974749924d8a25ff6bee73218
MD5 fb35a4699a4575424e2c927f0c6660c7
BLAKE2b-256 de6b3b507468e8f0804ebf93894a2e640c888e42ea0d6e653dbc390a384f87e7

See more details on using hashes here.

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

Hashes for nys_schemas-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 790d8ae3a4054ab9ab2f29987e5509761b01528b6014dfc31da3906dda2f09ff
MD5 fd38249c9ae162913c669645025c79fe
BLAKE2b-256 33e8687759e8f8aaf4ff9a0dc8c7e5e4981bff0520fd5e7731b7226a9404c434

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