Skip to main content

Python tools for manipulating csv files. This package resolves demjson/setuptools issue with original python-csv developed by Jason Trigg and support Python 3.12.6

Project description

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

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

python_csv_demjson3-0.0.17.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_csv_demjson3-0.0.17-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file python_csv_demjson3-0.0.17.tar.gz.

File metadata

  • Download URL: python_csv_demjson3-0.0.17.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for python_csv_demjson3-0.0.17.tar.gz
Algorithm Hash digest
SHA256 2dd4893d4f1e9697a43c0522b046899a598f128e4164e4c1345792c318ddcd1d
MD5 e490741e6f5d17f85c299789c456af0a
BLAKE2b-256 925d0f9e465e6ef9eed789080cb4118fcac56f68f692fc245eb0a71100597003

See more details on using hashes here.

File details

Details for the file python_csv_demjson3-0.0.17-py3-none-any.whl.

File metadata

File hashes

Hashes for python_csv_demjson3-0.0.17-py3-none-any.whl
Algorithm Hash digest
SHA256 1d6a9e46e781724398f65939ad73b434cdee594225d65bff9c83aa4c12e47a47
MD5 a3d390fa7e00e05de3345a4cbf70dbf2
BLAKE2b-256 593096668a8a6c2ec4640b5485b21bf2df3043230c853c5a079ce1de4a106172

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page