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
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nested-models-0.1.1.tar.gz.
File metadata
- Download URL: nested-models-0.1.1.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b50c536e6311598fc3460b5e7f94875bf9c0e436a6232e39417e77e415af5b27
|
|
| MD5 |
304b335b8d98c83f47b3c970b1ca8117
|
|
| BLAKE2b-256 |
eb014bf111fef25e88c5e8a989180f9f98675ed42a3b45faa702bd304d74165e
|
File details
Details for the file nested_models-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nested_models-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3db7712d1c1185ce5900c80dcca111c37cb96865414ae80bcf96028656a4af40
|
|
| MD5 |
46e86a109f9db0052be765b24f4da230
|
|
| BLAKE2b-256 |
cc1256488459bb29df94a31bf36086e89fd22bd88c6d81afb8485a89a733e3af
|