Skip to main content

A simple, no-dependency Python CSV library.

Project description

CSV Utilities

Everyone needs some really basic CSV utilities in Python.

Every once in a while I find I need to write a script in Python to parse a CSV. This could be for taxes, ingesting raw data into a database, or fixing messed-up data.

I needed a way to manipulate CSVs in Python, so I made this library after reinventing the wheel several times. It makes editing and processing CSV data a lot simpler.

Installation

pip install csv-utilites

Basic Usage

from csv_utilities import open_csv


CSV_PATH = '~/Documents/transactions.csv'


transactions = open_csv(CSV_PATH)  # Reads the file and creates a CSV object. 
transactions.echo()  # Prints the CSV to STDOUT

Project details


Download files

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

Source Distribution

csv-utilities-0.3.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

csv_utilities-0.3.0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

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