datatyping
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
Inspired by “How Python Makes Working With Data More Difficult in the Long Run”.
Any and all contributions are welcome.
Please open an issue if you need help (read: I messed up).
Suggest anything you want to see support for!
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datatyping-0.6.0.tar.gz | 4.1 kB | Without provenance | Details for datatyping-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datatyping-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for datatyping-0.6.0-py3-none-any.whl |
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 |
Security for datatyping 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.