Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csvutils-0.1.zip (45.5 kB view details)

Uploaded Source

File details

Details for the file csvutils-0.1.zip.

File metadata

  • Download URL: csvutils-0.1.zip
  • Upload date:
  • Size: 45.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for csvutils-0.1.zip
Algorithm Hash digest
SHA256 a5f0f49ac98a65a632bc8490cfe98a077a0d48656930395f39dc504804637f7c
MD5 6d9f60521e0a771954f54d46f1f8146f
BLAKE2b-256 5b9f4b0f5db5d907b2679c0df7fd9ea65198e996098483a2667397a5c66dad1a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

1 file

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