{"id":40648686,"url":"https://github.com/vanvuvuong/to_sql","last_synced_at":"2026-01-21T08:21:18.804Z","repository":{"id":37100221,"uuid":"395961887","full_name":"vanvuvuong/to_sql","owner":"vanvuvuong","description":"Little tool to convert the CSV, XML file to SQL","archived":false,"fork":false,"pushed_at":"2022-06-21T08:56:52.000Z","size":2850,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-04T05:22:59.010Z","etag":null,"topics":["csv","docker","sql","xml"],"latest_commit_sha":null,"homepage":"https://vanvuvuong.github.io/to_sql/","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/vanvuvuong.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}},"created_at":"2021-08-14T09:43:01.000Z","updated_at":"2022-06-24T09:05:32.000Z","dependencies_parsed_at":"2022-06-24T14:32:23.332Z","dependency_job_id":null,"html_url":"https://github.com/vanvuvuong/to_sql","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/vanvuvuong/to_sql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvuvuong%2Fto_sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvuvuong%2Fto_sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvuvuong%2Fto_sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvuvuong%2Fto_sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vanvuvuong","download_url":"https://codeload.github.com/vanvuvuong/to_sql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vanvuvuong%2Fto_sql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28630112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","docker","sql","xml"],"created_at":"2026-01-21T08:21:18.098Z","updated_at":"2026-01-21T08:21:18.795Z","avatar_url":"https://github.com/vanvuvuong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"CSV, XML TO SQL VERSION 0.1.1\n===\n## SETUP THE ENVIRONMENT (GUIDE FOR LINUX ONLY)\nRequirement:\n---\n - Docker \u0026 docker-compose. Please view the official documentations to install it: https://docs.docker.com/get-docker/\n - Create the `.env` \u0026 `to_sql/config/config.yaml` files\n - Know how to use `docker` \u0026 `docker-composer`\n---\n### Start the docker-compose:\n---\n```\ndocker-compose up -d\n```\n### Start the docker-compose \u0026 rebuild the image:\n---\n```\ndocker-compose up --build -d\n```\n### Stop the docker-compose:\n---\n```\ndocker-compose down\n```\n\n## GUIDE TO USE THE SCRIPT (Keep the `container` alive to run the script)\n---\n1. Let get into the container:\n```\ndocker container exec -it app /bin/bash\n```\n2. Run this script to see command and option:\n```\npy main.py --help\n```\n3. Copy the files to folder `files` to get them ready to run\n\n4. Example of running:\n\n- Importing 1 csv file sample\n```\npy main.py csv files/sample.csv\n```\n\n- Importing 2 csv files sample\n```\npy main.py csv files/sample.csv files/customers.csv\n```\nAfter run the scrip, the terminal will ask you to type the `encoding`, `delimiter` and `quotechar`  of the csv files. The default values of them have been set.\n\n- Importing 1 xml file sample\n```\npy main.py xml files/sample.xml\n```\n\n- Importing 2 xml files sample\n```\npy main.py xml files/sample.xml files/products.xml\n```\nAfter run the scrip, the terminal will ask you to type the `encoding`, `parse_type` of the xml files. The default values of them have been set.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanvuvuong%2Fto_sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanvuvuong%2Fto_sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanvuvuong%2Fto_sql/lists"}