Skip to main content

python-csv-demjson3

Python tools for manipulating csv files. Some parts (eg plook) inspired by the excellent csvkit (https://github.com/onyxfish/csvkit)

Brief summaries of various files:


Data manipulation

pcsv: remove or keep certain rows, remove or keep certain columns, adjust columns or create new columns from old (some similarity to awk)

pagg: run aggregations on the csv (somewhat like GROUP BY in SQL)

pjoin: run a join on two csv files

psort: sort csv files by a column

to_csv: import xls files and json files to csv


Credits This package is published to resolve demjson/setuptools issue in original python-csv, since maintainer of python-csv has not released the fix in PyPi and many users struggling due to demjson, which is now updated to demjson3 and should not cause setuptools issue. Also python 3.12.6 support is added.

Well, all CREDIT GOES TO Jason Trigg being the owner of this library. https://github.com/jasontrigg0/python-csv 

Data summaries + viewing

plook: pretty print csv in less

pgraph: quick plotting of one and two dimensional numeric datasets in csv

ptable: show the frequencies of different values in a one-column csv

pset: union, and difference of two one-column csvs

pdiff: view differences between two csv files

More detailed summaries + examples

pcsv.py

Release files for python-csv-demjson3 0.0.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-csv-demjson3 0.0.17
File Size Uploaded
python_csv_demjson3-0.0.17.tar.gz 29.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-csv-demjson3 0.0.17
File Interpreter ABI Platform
python_csv_demjson3-0.0.17-py3-none-any.whl Python 3 none any Details

Total release size: 65.8 kB

Release files / python_csv_demjson3-0.0.17.tar.gz

Download URL python_csv_demjson3-0.0.17.tar.gz
Size 29.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2dd4893d4f1e9697a43c0522b046899a598f128e4164e4c1345792c318ddcd1d
BLAKE2b-256 checksum
How to use checksums
925d0f9e465e6ef9eed789080cb4118fcac56f68f692fc245eb0a71100597003
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / python_csv_demjson3-0.0.17-py3-none-any.whl

Download URL python_csv_demjson3-0.0.17-py3-none-any.whl
Size 36.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d6a9e46e781724398f65939ad73b434cdee594225d65bff9c83aa4c12e47a47
BLAKE2b-256 checksum
How to use checksums
593096668a8a6c2ec4640b5485b21bf2df3043230c853c5a079ce1de4a106172
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.0.17 This release

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page