https://github.com/trygu/rfccsv
https://github.com/trygu/rfccsv
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/trygu/rfccsv
- Owner: trygu
- Created: 2024-04-15T11:43:40.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T13:45:31.000Z (about 2 years ago)
- Last Synced: 2024-04-25T14:51:12.690Z (about 2 years ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rfccsv
`rfccsv` is a lightweight, easy-to-use Python package designed to validate CSV files according to RFC 4180 standards. It ensures that CSV files are properly formatted and meet the criteria necessary for standardized data processing tasks.
## Features
- Validate any CSV file to check its compliance with [RFC 4180](https://www.ietf.org/rfc/rfc4180.txt).
- Easy integration into existing Python projects.
- Detailed error reporting for quick troubleshooting of CSV files.
## Installation
Install `rfccsv` using pip:
```bash
pip install rfccsv
```
Or, if you are using Poetry:
```bash
poetry add rfccsv
```
## Usage
Here’s how you can use `rfccsv` to validate a CSV file:
```python
from rfccsv import validate_csv
# Validate a CSV file
result = validate_csv('path/to/your/file.csv')
print(result)
```
### Validating Files
You can validate CSV files by providing the path to the file:
```python
validate_csv('example.csv')
```
## License
Distributed under the MIT License.
## Contact
Project Link: [https://github.com/trygu/rfccsv](https://github.com/trygu/rfccsv)
## Acknowledgements
- [RFC 4180 Standard](https://tools.ietf.org/html/rfc4180)