Skip to main content

Pythonic type checking

Project description

Datatyping is a (pure) Python library with no dependencies that you can use to verify whether elements in a data structure has the expected types. Great for incomming json.

import datatyping
datatyping.validate([int], [1, 2, 3])

Check out the documentation for examples, installation instructions and usage.

Develop with me :)

Fork the repo first. Use the following lines to setup

$ git clone
$ cd datatyping
$ virtualenv venv
$ . venv/bin/activate
$ python develop

Run tests

$ pip install pytest
$ python -m pytest

Build documentation

$ make -C docs/ html


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

datatyping-0.6.0.tar.gz (4.1 kB view hashes)

Uploaded source

Built Distribution

datatyping-0.6.0-py3-none-any.whl (4.8 kB view hashes)

Uploaded py3

Supported by

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