Skip to main content

Simple Model objects that can be validated and serialized/deserialized into various formats.

Project description

# nested-models

Nested models are serializeable objects that can be converted to various formats like JSON and YAML while providing functionality such as serialization/deserialization, cleaning, validation and defaults values.

It also utilizes a Schema format that can restrict the fields that are serialized by the object.

Classes can be extended to add extra functionality and an encoder is provided that can be used with Django’s JSON fields.

It also supports nesting Models inside of Models.

## Goal

The goal is to provide a basic object that can be sereialized/deserialized into various formats supported by Python.

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

nested-models-0.1.1.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

nested_models-0.1.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page