{"id":15102747,"url":"https://github.com/ameygaikwad/csv-to-json-converter-using-python","last_synced_at":"2026-02-10T16:03:54.754Z","repository":{"id":244316512,"uuid":"808564915","full_name":"AmeyGaikwad/CSV-to-JSON-Converter-Using-Python","owner":"AmeyGaikwad","description":"Welcome to CSV-to-JSON-Converter-Using-Python, this Python script converts CSV (Comma-Separated Values) files to JSON (JavaScript Object Notation) files. It's designed for basic conversion and assumes well-formatted CSV files.","archived":false,"fork":false,"pushed_at":"2024-06-18T15:04:56.000Z","size":84653,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-08T07:22:20.537Z","etag":null,"topics":["csv","csv-converter","csv-parser","json","json-converter","json-schema","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmeyGaikwad.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-31T10:31:22.000Z","updated_at":"2024-06-18T15:07:15.000Z","dependencies_parsed_at":"2024-06-18T18:47:50.074Z","dependency_job_id":null,"html_url":"https://github.com/AmeyGaikwad/CSV-to-JSON-Converter-Using-Python","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"a768e64678dca130e427bed949d948fe9433d621"},"previous_names":["ameygaikwad/csv-to-json-converter-using-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AmeyGaikwad/CSV-to-JSON-Converter-Using-Python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmeyGaikwad%2FCSV-to-JSON-Converter-Using-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmeyGaikwad%2FCSV-to-JSON-Converter-Using-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmeyGaikwad%2FCSV-to-JSON-Converter-Using-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmeyGaikwad%2FCSV-to-JSON-Converter-Using-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmeyGaikwad","download_url":"https://codeload.github.com/AmeyGaikwad/CSV-to-JSON-Converter-Using-Python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmeyGaikwad%2FCSV-to-JSON-Converter-Using-Python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29306462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T15:37:45.286Z","status":"ssl_error","status_checked_at":"2026-02-10T15:37:41.567Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","csv-converter","csv-parser","json","json-converter","json-schema","python"],"created_at":"2024-09-25T19:05:55.523Z","updated_at":"2026-02-10T16:03:54.735Z","avatar_url":"https://github.com/AmeyGaikwad.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSV-to-JSON-Converter-Using-Python\n\nWelcome to CSV-to-JSON-Converter-Using-Python, this Python script converts CSV (Comma-Separated Values) files to JSON (JavaScript Object Notation) files. It's designed for basic conversion and assumes well-formatted CSV files.\n\n**Project Overview**\n\nCSV-to-JSON-Converter-Using-Python enables you to convert CSV files, commonly used for tabular data, into JSON format. This conversion allows for better data management, analysis, and sharing.\n\n**Features**\n\n1. Exception Handling: CSV-to-JSON-Converter-Using-Python incorporates robust exception handling to ensure smooth data conversion.\n\n2. Converts CSV data into a JSON object structure.\n\n3. Handles basic CSV formatting, including headers as the first row.\n\n4. Outputs the converted JSON data to a new file.\n\n**How to Use** \n\n1. Create a virtal enviornment and activate it.\n   ```js\n    python -m venv pr-venv\n    ```\n\n2. Install all the prereqesites from requirements.txt.\n   ```js\n    pip install -r .\\requirements.txt\n    ```\n\n3. Edit .env file as per your requirement / Declare these enviornment variables as follows:\n    (Windows)\n    ```js\n    $Env:SRC_BASE_DIR = 'data/retail_db'\n    $Env:TGT_BASE_DIR = 'data/retail_db_json'\n    ```\n4. Run app.py as per requirements.\n\n**Use Case**\n\nThis would convert all the csv files present in data/retail_db to json.\n```js\n    python app.py\n```\n\nTo convert files specefic to dataset.\n```js\n    python app.py '[\\\"orders\\\" ,\\\"depatment\\\", \\\"order_items\\\"]'\n```\n--This would convert files of only orders and order_items dataset to JSON files as there is a typo in departments hence proving exception handling.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fameygaikwad%2Fcsv-to-json-converter-using-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fameygaikwad%2Fcsv-to-json-converter-using-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fameygaikwad%2Fcsv-to-json-converter-using-python/lists"}