Facilities for mappings and objects associated with mappings.
Project description
In particular:
- named_column_tuple(column_names), a function returning a factory
for namedtuples subclasses derived from the supplied column names
- named_column_tuples(rows), a function returning a namedtuple
factory and an iterable of instances containing the row data
These are used by the csv_import and xl_import functions from cs.csvutils.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cs.mappings-20180720.tar.gz
(7.9 kB
view hashes)