Skip to main content

csvtojsonify

Convert CSV to JSON as a Python library, CLI, or browser UI.

Install from PyPI

pip install csvtojsonify

Web UI (FastAPI + Uvicorn):

pip install 'csvtojsonify[web]'

Install from source

pip install .
pip install ".[web]"

Library

from csvtojsonify import csv_to_json

json_str = csv_to_json("name,age\nAlice,30")

CLI

csvtojsonify < input.csv > out.json
csvtojsonify path/to/file.csv
csvtojsonify --compact < data.csv

Web UI

csvtojsonify-web

Open http://127.0.0.1:8765 — paste CSV on the left, JSON appears on the right.

Web UI: CSV input on the left, formatted JSON on the right

License

This project is licensed under the Apache License, Version 2.0. See the LICENSE file in the repository for the full text.

Metadata

Release files for csvtojsonify 2.0.2

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

Source distribution (sdist)

Source distribution for csvtojsonify 2.0.2
File Size Uploaded
csvtojsonify-2.0.2.tar.gz 97.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for csvtojsonify 2.0.2
File Interpreter ABI Platform
csvtojsonify-2.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 108.9 kB

Release files / csvtojsonify-2.0.2.tar.gz

Download URL csvtojsonify-2.0.2.tar.gz
Size 97.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6a512d5046948b5de98651ed46342ba8171b956cefc3366b281fd47bada45d30
BLAKE2b-256 checksum
How to use checksums
58e20399a275d687ff92e6f9e7d69bdf5057e1537614cc3d569e6116136b25be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release files / csvtojsonify-2.0.2-py3-none-any.whl

Download URL csvtojsonify-2.0.2-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
500b101bf68006e83ac1706bd73d5c7850f638fb96491eeef2c787b12d24e466
BLAKE2b-256 checksum
How to use checksums
911927862371e6f85f15f38f672530114039b0ddde005eb614a8fc3c8d9f80a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

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