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.6.1.tar.gz (8.2 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.6.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sartorial-0.6.1.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for sartorial-0.6.1.tar.gz
Algorithm Hash digest
SHA256 cb6b0279e279ae9d3289a008b4369560e4e58244bad038fdd482dac2b9ca3bc1
MD5 792ed4cca90d19194d6ce6adbf4ce2dd
BLAKE2b-256 bed106c0ab28292978f320cfc48d5eb061499817359bbe0aa98021a3e9bf8a94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sartorial-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for sartorial-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d17a0326d0974d0a07980486ed9e12b26322eebccf566b1bda10590995a1e0de
MD5 7d5c28dd449b3657142a5e950ca34c0d
BLAKE2b-256 39725351dd8ba1743a73a7ec8eb5f03b196b4c7710230e6835b03d86f9c84304

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