CSV-Scavenger
CSV-Scavenger is a simple CSV parser for Python which can detect the delimiter automatically and can parse CSV files with quoted fields. It can also detect the header row and the start and end of the data rows automatically. For most use cases, you can simply call sv.read_csv(filename) and get a pandas DataFrame back.
See the csv-scavenger/example_csvs directory for some example CSV files which are parsed correctly by CSV-Scavenger.
Installation
pip install csv-scavenger
Usage
import scavenger as sv
# Read a CSV file into a pandas DataFrame
df = sv.read_csv('data.csv')
Metadata
Release files for csv-scavenger 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| csv_scavenger-1.0.5.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| csv_scavenger-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / csv_scavenger-1.0.5.tar.gz
| Download URL | csv_scavenger-1.0.5.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c4ad6a7cdd9a6c3d26f56d136a0d250c3b732bf1bfdbb884ad7d5f5a112d875
|
|
BLAKE2b-256 checksum How to use checksums |
fcb44664a9ccbddca5ac6f333429a169186755b1f03e01603f65ef54f852b143
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Windows/10
|
Release files / csv_scavenger-1.0.5-py3-none-any.whl
| Download URL | csv_scavenger-1.0.5-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ed90470774c7b35b95cf8fdb3c876ba4ffcc3ab5fd2f64f9b25e0d59a78117d
|
|
BLAKE2b-256 checksum How to use checksums |
b79b9e42924605839926be41388f658112f2d8231fd01bfcce7db6d003a4f40e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.11.3 Windows/10
|