Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for do-py, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size do_py-0.0.2-py2-none-any.whl (17.2 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size do-py-0.0.2.tar.gz (12.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page