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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file csv-utilities-0.3.0.tar.gz.

File metadata

  • Download URL: csv-utilities-0.3.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2

File hashes

Hashes for csv-utilities-0.3.0.tar.gz
Algorithm Hash digest
SHA256 a364f5dee6fe5a21fb862b6c587cf7b341820389597c247fec306aa171e81941
MD5 4adaa11bf05ec97d0a3777bf36f6b901
BLAKE2b-256 72da6935f2d32a8021157cc2d5bce5757644c1a23fb340f55801765cbf40e7d6

See more details on using hashes here.

File details

Details for the file csv_utilities-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: csv_utilities-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2

File hashes

Hashes for csv_utilities-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06eaa89329d907b19891e55760ff15cb3aae41e4e3cef3259f60318f64b539b8
MD5 3db74c0329d1af07709e2baaab87a911
BLAKE2b-256 2c32cfad225b4ef935bf642ec06ec39b06a5e25271bf81a0c4060558c1141b80

See more details on using hashes here.

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