Skip to content

goodcleanfun/sartorial

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages