Skip to main content
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

Release files for datatyping 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datatyping 0.6.0
File Size Uploaded
datatyping-0.6.0.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datatyping 0.6.0
File Interpreter ABI Platform
datatyping-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.0 kB

Release files / datatyping-0.6.0.tar.gz

Download URL datatyping-0.6.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6a13174699c1c3ab009dcd4c00d6dce18a3ddc86105ece8ae27e33da4ef7547a
BLAKE2b-256 checksum
How to use checksums
424b83f349434205d096ba427277e4059b11a8c441b2b4c6586980ad025302f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / datatyping-0.6.0-py3-none-any.whl

Download URL datatyping-0.6.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06fe2a2e9cbf9c327384350cc0923c9cb4f7ec128477385742126a598ae5d036
BLAKE2b-256 checksum
How to use checksums
3d6dc6436610c94eb8a858c2098546a469ea34d1810e7c59fde1f961a76e3f21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.1

3 release files

0.5.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page