Python utilities used for interacting with .csv files
Project description
Christopher H. Todd's PROJECT_STRING_NAME
The PROJECT_GIT_NAME project is responsible for ...
The library ...
Table of Contents
Dependencies
Python Packages
Libraries
csv_general_helpers.py
CSV General Helpers. This library is used to interact with .csv files not specificlly related to reading or writing them.
Functions:
def convert_csv_file_to_json_file(csv_filename, json_filename=None, seperator=","):
"""
Purpose:
Convert .csv File to .json
Args:
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
Return:
json_filename (String): filename for the resulting .json
"""
csv_reading_helpers.py
CSV Reading Helpers. This library is used to aid in reading with .csv files
Functions:
N/A
csv_writing_helpers.py
CSV Writing Helpers. This library is used to aid in writing with .csv files
Functions:
N/A
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.
N/A
Notes
- 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
TODO
- Unittest framework in place, but lacking tests
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
Built Distribution
Hashes for ctodd-python-lib-csv-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c19f7ae378d76cce2ea769912e582c5e8acc3bfa0a8807daaea5ff7245f6773 |
|
MD5 | 90d6db54f90065864b1b0e3c5f84ff2e |
|
BLAKE2b-256 | 20b547cc176e187c2670d52e0582ff45dd7f57b235cd80e59f2314e16e1a667b |
Hashes for ctodd_python_lib_csv-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4586c2deceeb9f3d3f530911287e12b0e69653e360f973ca37ee808afca06d5a |
|
MD5 | 66fba2ec448251ba9b860a6654ed52b3 |
|
BLAKE2b-256 | d4248831c2efd22b1507db85e344d4dfe7df31906ad1330a28ed7990b5abf0fd |