Skip to main content

Python utilities used for interacting with .csv files

Project description

Christopher H. Todd's Python Lib for CSV Files

The ctodd-python-lib-csv project is responsible for interacting with .csv files and .csv formatted data. This includes converting to and from .csv format, reading .csv files, writing .csv files, and other general CSV related tasks.

Table of Contents


Python Packages

  • simplejson>=3.16.0


CSV General Helpers. This library is used to interact with .csv files not specificlly related to reading or writing them.


def convert_csv_file_to_json_file(csv_filename, json_filename=None, seperator=","):
        Convert .csv File to .json
        csv_filename (String): .csv file to convert to .json
        json_filename (String): filename for the resulting .json
        seperator (String): String seperator of fields in the .csv
        json_filename (String): filename for the resulting .json

CSV Reading Helpers. This library is used to aid in reading with .csv files



CSV Writing Helpers. This library is used to aid in writing with .csv files



Example Scripts

Example executable Python scripts/modules for testing and interacting with the library. These show example use-cases for the libraries and can be used as templates for developing with the libraries or to use as one-off development efforts.



  • Relies on f-string notation, which is limited to Python3.6. A refactor to remove these could allow for development with Python3.0.x through 3.5.x


  • Unittest framework in place, but lacking tests

Project details

Download files

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

Files for ctodd-python-lib-csv, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size ctodd_python_lib_csv-1.0.2-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ctodd-python-lib-csv-1.0.2.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page