Skip to content

About

Bidirectional JSON/CSV conversion with query and item management.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

JSON-CSV-Tool

A vibecoded experiment for a bidirectional JSON/CSV conversion with query and item management.

Features

  • Convert JSON to CSV and CSV to JSON
  • Query data with filtering, sorting, and limiting
  • Output data to a file
  • Interactive mode for easy querying
  • Command-line mode for automation

Installation

# Clone the repository
git clone <repository-url>
cd json-csv-tool

# Install dependencies
pip install -r requirements.txt

Usage

Interactive Mode

python main.py

Command-Line Mode

python main.py <file_path> <condition> <output_path> <format>

Examples

Convert JSON to CSV

python main.py data/sample.json "" data/sample.csv csv

Convert CSV to JSON

python main.py data/sample.csv "" data/sample.json json

Filter and output

python main.py data/sample.json "where id == 1" output.csv csv

Sort and output

python main.py data/sample.json "sort name" output.json json

Limit results

python main.py data/sample.json "limit 10" output.json json

Other Notes

I thought I was going to be able to do it by myself but I seemed to have relied on the help of Gemini and Claude. This was going to be a nice personal project, but it turned out to be a collaborative project with AI. I guess that's the future of programming. I'm not sure if I'm proud of it or not.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Bidirectional JSON/CSV conversion with query and item management.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages