Skip to main content

Pydantic model base classes and custom type handling, JSON schema generation, etc. covering a variety of common scenarios without much config

Project description

sartorial

Tailoring custom types to fit Pydantic models, including JSON schema generation and on-the-fly model generation with custom types using JSON Schema's "format" key, allowing lossless serialization/deserialiation of arbitrary models. Contains simple JSON encoding/decoding for most types and the ability to specify them for new types with an interface mixin.

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

sartorial-0.8.1.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

sartorial-0.8.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file sartorial-0.8.1.tar.gz.

File metadata

  • Download URL: sartorial-0.8.1.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for sartorial-0.8.1.tar.gz
Algorithm Hash digest
SHA256 800df944d743b2eff6632dd35864d5dff88f7b0c8c2905a092fae6a7360f83ca
MD5 78dddd35ef3875836def89eb83918009
BLAKE2b-256 4230d353b1eeda9684dfac2ef4bdb5db9ccde3b6305b2e5b1d6508828d7d93dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for sartorial-0.8.1.tar.gz:

Publisher: build.yml on goodcleanfun/sartorial

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sartorial-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: sartorial-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for sartorial-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b8cd617a5bf171429df2b86053f135606c21d62865a17031a8a70e69ece9148
MD5 d4e62f7d2d75d970596a9b5d30725221
BLAKE2b-256 c1854217730303d6f714e5d2e92728f04b6327b299dafea1b3ea7946310a1c5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sartorial-0.8.1-py3-none-any.whl:

Publisher: build.yml on goodcleanfun/sartorial

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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