Skip to main content
#CSVTools

Tools for working with delimited files.

1. DialectDetector
When passed delimited file path will sniff file for dialect and header information using specified detection settings for DialectDetector instance.
1. sniff_for_dialect:
Sniff delimited file and return csv.Dialect.
2. sniff_for_headers:
Sniff delimited file and return first row if the file has headers else list of numbered columns as headers in the form of 'Column' + column #.
3. sniff_for_encoding:
Sniff file to try and determine and return encoding else returns latin-1.

2. SchemaEngine
Engine for data-typing delimited file into field_names, their data type, and max length (if applicable).
1. build_schema_string:
Process delimited file and return schema string for file passed.

3. integrity_check
Take filepath and report on the number of columns detected per line, extra quotechars, etc. Helps to detect problems in source files which may cause issues when creating schema files and indicator for whether file will need preprocessor.

Metadata

Release files for csv_tools 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for csv_tools 0.4
File Size Uploaded Provenance
csv_tools-0.4.tar.gz 8.5 kB Without provenance Details

Release files / csv_tools-0.4.tar.gz

Download URL csv_tools-0.4.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
701a10c56057556659a4d72efdbed795e24a8c2409bc58f7f4e8b8d60bec305c
BLAKE2b-256 checksum
How to use checksums
a8e8d46012812f32745387eb54aa9ea066458c48bb027a86714b0150ed0bb3bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for csv_tools 0.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page