Standardized data structures for Python
Project description
do-py
A data-validation and standardization library wrapping Python dictionaries.
Quick Start
from do import DataObject
class A(DataObject):
_restrictions = {
'x': [int],
'y': ([int], None),
'z': [0, 1]
}
Development
Install do-py in development mode: python setup.py develop
Test: pipenv run pytest --cov ./do/ --cov-report html ./tests/
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
do-py-0.0.1.tar.gz
(12.1 kB
view hashes)
Built Distribution
do_py-0.0.1-py2-none-any.whl
(17.2 kB
view hashes)