--- id: pycsvschema version: "0.0.6" license: MIT license_treatment: permissive maintenance: abandoned --- # pycsvschema — PyCSVSchema is an implementation of CSV Schema in Python. License: permissive · Maintenance: abandoned · Downloads: 130.8K/mo ## What it is and what it does PyCSVSchema is a Python implementation of the CSV Schema specification, allowing you to define and enforce validation rules on CSV files. It lets you specify field types, constraints like multipleOf or range limits, and other data integrity rules, then validates CSV data against those rules and reports violations with row and column context. The package wraps the validation logic in a Validator class that takes a CSV filename and a schema dictionary, then checks each row for compliance. It depends on jsonschema and rfc3986 for underlying validation and URI handling. However, the project has been inactive since October 2019 and is marked as abandoned, meaning no new features, bug fixes, or compatibility updates should be expected. Use it for: - Validate CSV exports from databases or ETL pipelines before downstream processing - Enforce data type and constraint rules on CSV uploads in web applications - Check CSV data quality in automated data pipelines with clear error reporting - Test CSV file correctness in data integration test suites ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Validates CSV files against a schema definition, checking field types, constraints, and data integrity rules. No. While the package is lightweight and permissively licensed, it has been abandoned for over four years with no maintenance. For active projects requiring CSV validation, a maintained alternative is strongly recommended. Use only if you have a legacy codebase already depending on it or are willing to fork and maintain it yourself. ## Install pip install pycsvschema uv add pycsvschema poetry add pycsvschema ## Installing pycsvschema Before you install: Installation is straightforward with low friction—the package is a pure Python wheel with only two lightweight runtime dependencies (jsonschema and rfc3986). However, the project has been abandoned since October 2019 with no updates in over four years, so expect no bug fixes or maintenance. License in practice: MIT license permits free use, modification, and distribution with minimal restrictions, making it safe to adopt from a licensing perspective. Quickstart: pip install pycsvschema from pycsvschema.checker import Validator schema = {'fields': [{'name': 'value', 'type': 'number', 'multipleOf': 5}]} v = Validator(filename='demo.csv', schema=schema) v.validate() Verify before relying: - Whether the package works reliably with modern Python versions beyond 3.8, given no releases since 2019 - Current compatibility with recent versions of jsonschema and rfc3986 dependencies - Whether CSV Schema specification has evolved since the package's last update ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 130.8K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags csv validation, csv schema validator, validate csv files, csv data validation, csv schema checking, csv field validation, csv constraint validation, csv-validation, data-quality, abandoned [View on SkillFed](https://skillfed.io/packages/pycsvschema) · [View on PyPI](https://pypi.org/project/pycsvschema/)