{"id":26022751,"url":"https://github.com/stefanopaolonii/json2sqlite","last_synced_at":"2026-04-09T07:55:41.889Z","repository":{"id":280873247,"uuid":"943450116","full_name":"stefanopaolonii/json2sqlite","owner":"stefanopaolonii","description":"json2sqlite is a tool that allows importing data from a JSON file into an SQLite database","archived":false,"fork":false,"pushed_at":"2025-03-05T18:42:22.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T19:34:09.627Z","etag":null,"topics":["converter","db","json","python","sqlite"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefanopaolonii.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-03-05T18:15:02.000Z","updated_at":"2025-03-05T18:42:38.000Z","dependencies_parsed_at":"2025-03-05T19:34:11.801Z","dependency_job_id":"4b19ce6e-ac29-4f9a-9fb4-1413df54780b","html_url":"https://github.com/stefanopaolonii/json2sqlite","commit_stats":null,"previous_names":["stefanopaolonii/json2sqlite"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanopaolonii%2Fjson2sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanopaolonii%2Fjson2sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanopaolonii%2Fjson2sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefanopaolonii%2Fjson2sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefanopaolonii","download_url":"https://codeload.github.com/stefanopaolonii/json2sqlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242187807,"owners_count":20086224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["converter","db","json","python","sqlite"],"created_at":"2025-03-06T10:19:17.561Z","updated_at":"2025-12-31T00:50:53.884Z","avatar_url":"https://github.com/stefanopaolonii.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json2sqlite 🚀\n\n## Description 📄\n`json2sqlite` is a tool that allows importing data from a JSON file into an SQLite database. This project is useful for anyone who wants to transfer structured data from a JSON format to a relational database quickly and easily.\n\n## Project Structure 📁\nThe project structure is as follows:\n```\njson2sqlite/\n│-- data/\n│   ├── data.json  # JSON file to be imported (to be placed manually in this directory)\n│-- src/\n│   ├── __init__.py         # Module initialization file\n│   ├── config.py           # Database and JSON file configuration\n│   ├── json_reader.py      # Module for reading the JSON file\n│   ├── logger.py           # Module for log management\n│   ├── main.py             # Main script for data import\n│   ├── sqlite_handler.py   # Module for SQLite database management\n│-- README.md               # Project documentation\n```\n\n## Requirements 📋\n- Python 3.x\n- Python modules: `sqlite3`, `json`, `logging`\n\n## Installation 💻\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/stefanopaolonii/json2sqlite.git\n    cd json2sqlite\n    ```\n\n## Configuration ⚙️\nEdit the `config.py` file to specify:\n- The path to the JSON file (which must be placed in the `data/` directory)\n- The name of the SQLite database\n- The name of the table\n\nExample configuration:\n```python\nDB_FILE = 'database.sqlite'\nTABLE_NAME = 'my_table'\nJSON_FILE = 'data/data.json'\n```\n\n## Usage ▶️\nTo run the script and import the JSON data into the SQLite database, execute the following command:\n```sh\npython -m src.main\n```\n\n## License 📜\nThis project is distributed under the MIT license. See the `LICENSE` file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanopaolonii%2Fjson2sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefanopaolonii%2Fjson2sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefanopaolonii%2Fjson2sqlite/lists"}