{"id":21203247,"url":"https://github.com/guifernandess7/datasynctool-database-migration-app","last_synced_at":"2026-05-11T02:50:49.631Z","repository":{"id":258835763,"uuid":"875774662","full_name":"GuiFernandess7/DataSyncTool-database-migration-app","owner":"GuiFernandess7","description":"Application for Data Migration Between Databases.","archived":false,"fork":false,"pushed_at":"2024-10-20T20:00:58.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T22:45:15.081Z","etag":null,"topics":["database","migration","pandas","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/GuiFernandess7.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-10-20T19:44:55.000Z","updated_at":"2024-10-20T20:02:11.000Z","dependencies_parsed_at":"2024-10-28T01:37:39.436Z","dependency_job_id":null,"html_url":"https://github.com/GuiFernandess7/DataSyncTool-database-migration-app","commit_stats":null,"previous_names":["guifernandess7/datasynctool-database-migration-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GuiFernandess7/DataSyncTool-database-migration-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiFernandess7%2FDataSyncTool-database-migration-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiFernandess7%2FDataSyncTool-database-migration-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiFernandess7%2FDataSyncTool-database-migration-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiFernandess7%2FDataSyncTool-database-migration-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuiFernandess7","download_url":"https://codeload.github.com/GuiFernandess7/DataSyncTool-database-migration-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuiFernandess7%2FDataSyncTool-database-migration-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32879551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["database","migration","pandas","python"],"created_at":"2024-11-20T20:22:39.766Z","updated_at":"2026-05-11T02:50:49.614Z","avatar_url":"https://github.com/GuiFernandess7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### DataSyncTool: Application for Data Migration from CSV to Databases and JSON\n\n**Overview:**\n\nDataSyncTool is an efficient application designed for seamless data migration from CSV files to various database systems and JSON file formats. Leveraging a robust processing engine, this tool enables users to easily manage large datasets and convert them into structured formats for analytics, reporting, or further processing.\n\n**Key Features:**\n\n- **CSV to Database Migration:** The application reads CSV files from a specified source directory and loads the data directly into the target database. It supports a variety of databases through customizable connection URIs.\n\n- **JSON Conversion:** DataSyncTool can also convert CSV files into JSON format, providing flexibility in data storage and integration with web applications and APIs.\n\n- **Schema Management:** The tool automatically loads data schemas from a JSON configuration file, ensuring that the dataset's structure is maintained throughout the migration process.\n\n- **Chunked Processing:** To handle large datasets efficiently, the application reads CSV files in chunks, minimizing memory usage and improving performance.\n\n- **User-Friendly Interface:** The intuitive command-line interface allows users to easily specify parameters, such as source and destination directories, target tables, and operational modes (e.g., database loading or JSON conversion).\n\n**Use Cases:**\n\n- **Data Migration:** Move data from legacy systems or flat files into modern databases, ensuring data integrity and compatibility.\n\n- **Data Export:** Convert datasets into JSON format for integration with web services or APIs, facilitating data sharing and collaboration.\n\n- **Batch Processing:** Automatically process multiple CSV files in one go, saving time and reducing manual effort.\n\n**Conclusion:**\n\nDataSyncTool simplifies the complexities of data migration and transformation, making it an invaluable asset for data professionals. Whether you need to load data into a database or convert it into JSON format, this tool provides a reliable and efficient solution to meet your data processing needs.\n\n**Instructions**\n\n1. Create a folder named `data` at the root of your project.\n2. Specify the environment variables by running the following commands in your terminal:\n\n   ```bash\n   export SRC_BASE_DIR=data/db\n   export TGT_BASE_DIR=data/db_json\n   export DB_HOST=\u003cHOST\u003e\n   export DB_PORT=\u003cPORT\u003e\n   export DB_NAME=\u003cDB_DESTINATION\u003e\n   export DB_USER=\u003cDB_USER\u003e\n   export DB_PASS=\u003cDB_PASS\u003e\n   ```\n\n**Flow**\n\n![Untitled-2024-10-20-1650](https://github.com/user-attachments/assets/22224fde-c3a7-479c-9d50-6c41a82bff55)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguifernandess7%2Fdatasynctool-database-migration-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguifernandess7%2Fdatasynctool-database-migration-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguifernandess7%2Fdatasynctool-database-migration-app/lists"}