Skip to main content

A CLI tool to convert CSV files to JSON format

Project description

CSV to JSON Converter CLI

A simple and beginner-friendly command-line tool to convert CSV files into JSON format quickly and efficiently.


Features

  • Convert CSV files to JSON format
  • Simple and interactive command-line interface
  • Uses built-in Python libraries (csv, json)
  • Clean and easy-to-understand code
  • Lightweight and fast

Installation

pip install csvtojson-bikita

Usage

Run the following command:

csvtojson-bikita

Then enter the required file paths:

Enter CSV file path:
Enter output JSON file path:

Example Output

[
    {
        "name": "John",
        "age": "25",
        "city": "New York"
    },
    {
        "name": "Alice",
        "age": "30",
        "city": "London"
    }
]

Project Structure

csv-to-json-converter/
│
├── csv-to-json/
│   ├── __init__.py
│   └── converter.py
│
├── pyproject.toml
└── README.md

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests.


License

This project is licensed under the MIT License.


Author

Developed by Bikita Suwal

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

csvtojson_bikita-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

csvtojson_bikita-0.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file csvtojson_bikita-0.1.0.tar.gz.

File metadata

  • Download URL: csvtojson_bikita-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for csvtojson_bikita-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d38ef80f7a2c626d731008002a314364c4bd57406d99abb195efb0519431cec5
MD5 e1f9443c3720fc69c5d94c7e2faf61a8
BLAKE2b-256 d161560f438aabcd0631ad6cc92fcd1bd5fa7941661675113d3c8df74986367f

See more details on using hashes here.

File details

Details for the file csvtojson_bikita-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for csvtojson_bikita-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c415bb8dc149db11df0d9ecac8502adf7f2dad42ac1a5d58b22838ac3561c19a
MD5 11ea2e165ce65355971f9353c82e5b0d
BLAKE2b-256 098b959fa400b073b5ba6a0099d5f81fe75ee8b363c3ff5e07bf2595eec91eb5

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