csv2json
A command-line utility that quickly and easily converts CSVs to JSON.
Usage
You can install csv2json using PyPi and use it as follows:
$ pip install csv2json.py
$ cat <mycsv> | csv2json -p
# See --help for more information.
Help
A utility to convert CSVs to JSON quickly and easily.
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
-o OUTPUT, --output OUTPUT
-c INCLUDE_COLUMNS [INCLUDE_COLUMNS ...], --include-columns INCLUDE_COLUMNS [INCLUDE_COLUMNS ...]
-x EXCLUDE_COLUMNS [EXCLUDE_COLUMNS ...], --exclude-columns EXCLUDE_COLUMNS [EXCLUDE_COLUMNS ...]
-p, --pretty
--indent INDENT
Contributing
csv2json.py welcomes contributions. Please submit PRs & issues as needed. Just don't be a dick.
Metadata
Release files for csv2json.py 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| csv2json.py-1.1.tar.gz | 3.3 kB | Without provenance | Details for csv2json.py-1.1.tar.gz |
Release files / csv2json.py-1.1.tar.gz
| Download URL | csv2json.py-1.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa4dc5db797f11a6cea46e605cfbb25dce8746d9fc707b328b5875505b8d65be
|
|
BLAKE2b-256 checksum How to use checksums |
5eb151ee64ba00cefa76bca47ef0ce7d1d54f118a318d1fda276cbaaaaf5424b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for csv2json.py 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.