Skip to main content

A command-line utility to convert CSV files to JSON.

Installation

Requires: Python 3

You should really consider using virtual environments when installing any Python software. See http://docs.python-guide.org/en/latest/dev/virtualenvs/#virtualenvironments-ref for more information on virtual environments.

To use virtual environments with pycsvjson, do something like:

` pip install virtualenv virtualenv -p $(which python3) .ve source .ve/bin/activate `

To install this package: pip install pycsvjson

Quickstart

pycsvjson csvfile mappingfile –output outfile

For pretty, human-readable versions of JSON, use the –pretty option:

pycsvjson file.csv mapping.json –output outfile.json –pretty

For extended options: pycsvjson –help

For more information on what a mapping file is, see https://github.com/pudo/jsonmapping

Status

This software should be considered Alpha.

License

This project is released under the MIT License.

Release files for pycsvjson 0.0.5

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

Source distribution (sdist)

Source distribution for pycsvjson 0.0.5
File Size Uploaded
pycsvjson-0.0.5.tar.gz 4.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pycsvjson 0.0.5
File Interpreter ABI Platform
pycsvjson-0.0.5-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 9.5 kB

Release files / pycsvjson-0.0.5.tar.gz

Download URL pycsvjson-0.0.5.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cd836744af878d7d7e459adf7605c774524906ae6066ab78a9afed9ae3084d3f
BLAKE2b-256 checksum
How to use checksums
cabfa1cbc4b41f2d9838d0cc0f16d360a4b1e171985ef2f23dbabd03549ffd92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / pycsvjson-0.0.5-py2.py3-none-any.whl

Download URL pycsvjson-0.0.5-py2.py3-none-any.whl
Size 5.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0be4ea668f5f366b34ff25017050a86993648f04af64584a3fa15932fed2f35a
BLAKE2b-256 checksum
How to use checksums
4c12fe140b63191d506947fb3036882a3f3f1f95e7534ecac7c49f041b81039b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

1 release file

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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