The standard csv module is very useful for parsing tabular data in CSV format. Typically though, one or more transformations need to be applied to the generated rows before being ready to be used; for instance “convert the 3rd column to int, the 5th to float and ignore all the rest”. This module provides an easy way to specify such transformations upfront instead of coding them every time by hand.
Two classes are currently available, SequenceTransformer and MappingTransformer, that represent each row as a list (like csv.reader) or dict (like csv.DictReader), respectively.
Metadata
Release files for csvutils 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| csvutils-0.1.zip | 45.5 kB | Details |
Release files / csvutils-0.1.zip
| Download URL | csvutils-0.1.zip |
|---|---|
| Size | 45.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5f0f49ac98a65a632bc8490cfe98a077a0d48656930395f39dc504804637f7c
|
|
BLAKE2b-256 checksum How to use checksums |
5b9f4b0f5db5d907b2679c0df7fd9ea65198e996098483a2667397a5c66dad1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |