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_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


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)

Uploaded Source

Built Distribution

do_py-0.0.3-py2-none-any.whl (22.6 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