Skip to main content

Transformation utilities for csv (or csv-like) generated rows

Project description

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.

Project details


Release history Release notifications | RSS feed

This version

0.1

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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page