Simple Model objects that can be validated and serialized/deserialized into other formats.
Project description
# nested-models
Nested models are serializeable objects that can be converted to 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file nested_models-0.1.0-py2-none-any.whl
.
File metadata
- Download URL: nested_models-0.1.0-py2-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1787561f9e12c26725c3e335f3bf216e45f53681e9da9671424ff540e35c56a |
|
MD5 | 4d4a02c0f75d684825fa7fe4eab13816 |
|
BLAKE2b-256 | 019c5572fae64ccc6934e7c8dec33af4004bb78875b9ab8483bbf093eb8c9241 |