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.9.0.tar.gz (8.9 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.9.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sartorial-0.9.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sartorial-0.9.0.tar.gz
Algorithm Hash digest
SHA256 39abf34fb474fef3e56968aff3881f142b7a014fcddefd915dc2cf838218deed
MD5 80d9a6440623a24d7367d17a89de6e96
BLAKE2b-256 e5715825cc6a84eddc532a05996ac93130f4b06ec22eb3124e3be07a59be5a56

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: sartorial-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sartorial-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f029907da4555dd8efc6ddc787f34be048ff6ca5b4f62c8369c6ccebe8bf088
MD5 030c3e7c9a9d1e03eaf9d81deb17efae
BLAKE2b-256 75729cc1ff25d6cf6ad32a81c1d6bb8bcb6baa586c33c0d95c97c418c54c604e

See more details on using hashes here.

Provenance

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