Skip to content

Kshitijavir/python-data-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-data-tool

# Python Data Tool

A simple Python tool for handling **CSV** and **JSON** files.  
This project demonstrates how to:
- Read CSV files
- Convert JSON → CSV
- Convert CSV → JSON
- Validate data
- Show quick summaries of CSV/JSON files

---

## 📂 Project Structure

├── calculator.py # Simple Python calculator (extra project) ├── data_tool.py # Main data handling tool ├── sample.csv # Sample CSV file ├── sample.json # Sample JSON file ├── output.csv # Converted CSV output └── README.md # Project documentation


---

## ⚡ Features
✅ CSV → JSON conversion  
✅ JSON → CSV conversion  
✅ Data summary (columns, rows, preview)  
✅ Data validation  

---

## ▶️ How to Run

1. Clone the repository:
   ```bash
   git clone https://github.com/Kshitijavir/python-data-tool.git
   cd python-data-tool
  1. Run the tool:

    python data_tool.py <command> <file>

📌 Commands

Show summary of a CSV

python data_tool.py summary sample.csv

Convert JSON → CSV

python data_tool.py convert-to-csv sample.json -o output.csv

Convert CSV → JSON

python data_tool.py convert-to-json sample.csv -o output.json

🛠 Requirements

  • Python 3.x
  • No external libraries (uses built-in Python modules)

👨‍💻 Author

Kshitij Javir 🔗 GitHub Profile


🚀 Now you can easily manage CSV/JSON files with this tool.


---

👉 Steps for you:
1. Copy this text.  
2. Replace your existing **README.md** content with it.  
3. Save the file.  
4. Run:
   ```bash
   git add README.md
   git commit -m "Update README with project details"
   git push

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages