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.0.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.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sartorial-0.8.0.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.0.tar.gz
Algorithm Hash digest
SHA256 2337846209be7e966069f7525cca492ac5f0b32427a8f21908ce1dc399548839
MD5 9107a70bec62058b007156a2489359d4
BLAKE2b-256 4bd0adedc3485689013827de1016d00587ee4e5b64a6e04a62e285d377ae11cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for sartorial-0.8.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: sartorial-0.8.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8900ced2f548915523e2212a6a9e85e955a243df6a9a88d86981985b3a5ffffc
MD5 6c4698b3e5fa9a30e5d8951a4f27e896
BLAKE2b-256 a791c10fe82f1a03844653cfed3cf15da402962b533f164d236a67e00194d55d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sartorial-0.8.0-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