Democritus functions for working with CSV.
Project description
Democritus CSV
Democritus functions[1] for working with CSV, TSV, and other ____ Separated Values.
[1] Democritus functions are simple, effective, modular, well-tested, and well-documented Python functions.
We use d8s
(pronounced "dee-eights") as an abbreviation for democritus
(you can read more about this here).
Installation
pip install d8s-csv
Usage
You import the library like:
from d8s_csv import *
Once imported, you can use any of the functions listed below.
Functions
-
def csv_read_as_list(csv_data: str, **kwargs): """Read the csv_data as a list."""
-
def csv_read_as_dict(csv_data: str, **kwargs): """Read the csv_data as a dict."""
Development
👋 If you want to get involved in this project, we have some short, helpful guides below:
If you have any questions or there is anything we did not cover, please raise an issue and we'll be happy to help.
Credits
This package was created with Cookiecutter and Floyd Hightower's Python project template.
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
Built Distribution
File details
Details for the file d8s_csv-0.6.0.tar.gz
.
File metadata
- Download URL: d8s_csv-0.6.0.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7aaa700e326e4d52058d8f5c72864bc3223c468e03ae5606f35edc7b9dc3fa |
|
MD5 | 8036d4cd4025a36c34b15ae7dee0146b |
|
BLAKE2b-256 | c1805861b58a0a75a987e3f36c14071727bee6e77d94c0c0253b48ec5d10d3b1 |
File details
Details for the file d8s_csv-0.6.0-py2.py3-none-any.whl
.
File metadata
- Download URL: d8s_csv-0.6.0-py2.py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 822ed26a9733efb1b9be0ed9b7c20acdc6f896f6c71db59d2019d3b98186f3c3 |
|
MD5 | 970da8793f8e848819ce48bda820f2f1 |
|
BLAKE2b-256 | 6e9919c4a8d919fd11696f89e4cedb026ee03a63f0a29824877d060957f31923 |