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.

Source Distribution

do-py-0.0.2.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

do_py-0.0.2-py2-none-any.whl (17.2 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page