
Security News
CISA Rebuffs Funding Concerns as CVE Foundation Draws Criticism
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
PyPI Page: https://pypi.python.org/pypi/pycsvschema <https://pypi.python.org/pypi/pycsvschema>
_
Github Page: https://github.com/crowdskout/PyCSVSchema <https://github.com/crowdskout/PyCSVSchema>
_
PyCSVSchema is an implementation of CSV Schema <https://github.com/csvschema/csvschema>
__ in Python.
This project is under heavy development.
.. code:: python
>>> 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>
.. code:: bash
pip install pycsvschema
PyCSVSchema uses the MIT license, see LICENSE
file for the details.
FAQs
PyCSVSchema is an implementation of CSV Schema in Python.
We found that pycsvschema demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
We’re excited to announce a powerful new capability in Socket: historical data and enhanced analytics.
Product
Module Reachability filters out unreachable CVEs so you can focus on vulnerabilities that actually matter to your application.