PyCSVSchema
PyPI Page: https://pypi.python.org/pypi/pycsvschema
Github Page: https://github.com/crowdskout/PyCSVSchema
Introduction
PyCSVSchema is an implementation of CSV Schema in Python.
This project is under heavy development.
>>> from pycsvschema.checker import Validator
>>>
>>> # demo.csv:
... # id,name,value
... # 1,Ann,"5"
... # 2,Ben,"10"
... # 3,Tom,"14"
...
>>>
>>> schema = {
... 'fields': [
... {
... 'name': 'value',
... 'type': 'number',
... 'multipleOf': 5
... }
... ]
... }
>>>
>>> v = Validator(filename='demo.csv', schema=schema)
>>> v.validate()
Traceback (most recent call last):
...
<ValidationError: 'Value 14.0 is not multiple of 5'; column: value; row: 3>
Installation
pip install pycsvschema
License
PyCSVSchema uses the MIT license, see LICENSE file for the details.
Metadata
Release files for pycsvschema 0.0.6
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 |
|---|---|---|---|---|
| pycsvschema-0.0.6.tar.gz | 8.7 kB | Without provenance | Details for pycsvschema-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycsvschema-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for pycsvschema-0.0.6-py3-none-any.whl |
Total release size: 22.3 kB
Release files / pycsvschema-0.0.6.tar.gz
| Download URL | pycsvschema-0.0.6.tar.gz |
|---|---|
| Size | 8.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aaec9dc65cb43ac3cfe8de78c95f3ac29ae4af8975571dff66c0c74cf7ec22d0
|
|
BLAKE2b-256 checksum How to use checksums |
5bf174386d0613364fd58eff8267dc1792ae6ab0bc990b62a9452f45de5252f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Release files / pycsvschema-0.0.6-py3-none-any.whl
| Download URL | pycsvschema-0.0.6-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a8092000f8c7b086a565f76e0fbbf91d66d93576dbb539db6637801e5c16ddf2
|
|
BLAKE2b-256 checksum How to use checksums |
4ffde0686cd9273c08d9df1f7cc0bd7c8bae4920521d0b0fa610528b0cd91224
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4
|
Security for pycsvschema 0.0.6
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.