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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sartorial-0.4.1.tar.gz
Algorithm Hash digest
SHA256 aacdffa444ae588d224f5219452d7f28badd5975bcbec4a41d6ea3051bddbc04
MD5 697939295520e5d0efd2f5e8075253c9
BLAKE2b-256 3d67e9250ab078354bff4e56cd320998872b24bf1b17da27bd6ad37e89d573b1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sartorial-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8adb515b4971475d03088df4e4957215334845031e9dc6ec365e885d4fe1450
MD5 0f166363459a3a1c7f79eccf864dd9b5
BLAKE2b-256 2a6da0d26e3146b2de467062fa62652a1ccd40ad693814f74da4e5e31fd003b1

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