Standardized data structures for Python.
Project description
do-py
A data-validation and standardization library wrapping Python dictionaries.
Quick Start
from do_py import DataObject
class A(DataObject):
_restrictions = {
'x': [int],
'z': [0, 1]
}
Development
Setup
Install do-py in development mode
python setup.py develop
Install all dependencies
Install yarn, pipenv, and then run the following command.
pipenv install --dev
Testing & Code Quality
Run unit tests
yarn test
Run linter
pipenv run lint
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.3.tar.gz
(16.8 kB
view hashes)
Built Distribution
do_py-0.0.3-py2-none-any.whl
(22.6 kB
view hashes)