Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Pythonic type checking

Project description

https://travis-ci.org/Zaab1t/datatyping.svg?branch=master https://readthedocs.org/projects/datatyping/badge/?version=latest

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 https://github.com/your_name/datatyping
$ cd datatyping
$ virtualenv venv
$ . venv/bin/activate
$ python setup.py develop

Run tests

$ pip install pytest
$ python -m pytest

Build documentation

$ make -C docs/ html

Notes

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 datatyping, version 0.6.0
Filename, size File type Python version Upload date Hashes
Filename, size datatyping-0.6.0-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size datatyping-0.6.0.tar.gz (4.1 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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page