{"id":18811360,"url":"https://github.com/chop-dbhi/sql-importer","last_synced_at":"2025-10-28T05:06:35.680Z","repository":{"id":57569228,"uuid":"96896150","full_name":"chop-dbhi/sql-importer","owner":"chop-dbhi","description":"Import CSV files into Postgres with automatic column typing and table creation.","archived":false,"fork":false,"pushed_at":"2018-08-19T01:02:15.000Z","size":34,"stargazers_count":15,"open_issues_count":1,"forks_count":2,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-13T21:03:40.811Z","etag":null,"topics":["csv","importer","inference","postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"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/chop-dbhi.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}},"created_at":"2017-07-11T13:28:18.000Z","updated_at":"2024-09-26T00:56:58.000Z","dependencies_parsed_at":"2022-08-23T18:10:50.246Z","dependency_job_id":null,"html_url":"https://github.com/chop-dbhi/sql-importer","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/chop-dbhi/sql-importer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chop-dbhi%2Fsql-importer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chop-dbhi%2Fsql-importer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chop-dbhi%2Fsql-importer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chop-dbhi%2Fsql-importer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chop-dbhi","download_url":"https://codeload.github.com/chop-dbhi/sql-importer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chop-dbhi%2Fsql-importer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281386589,"owners_count":26492014,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"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":["csv","importer","inference","postgresql","sql"],"created_at":"2024-11-07T23:25:59.375Z","updated_at":"2025-10-28T05:06:35.664Z","avatar_url":"https://github.com/chop-dbhi.png","language":"Go","readme":"# SQL Importer\n\nImport a CSV file into Postgres with automatic column typing and table creation.\n\nFeatures:\n\n- Type inference for numbers, dates, datetimes, and booleans\n- Automatic table creation\n- Uniqueness and not null detection\n- Automatic decompressing of gzip and bzip2 files\n- Support for append instead of replace\n- Support for CSV files wider than 1600 columns (the Postgres limit)\n\n## Install\n\n[Download a pre-built release](https://github.com/chop-dbhi/sql-importer/releases).\n\n\nOr install it from source (requires Go).\n\n```\ngo get github.com/chop-dbhi/sql-importer/cmd/sql-importer\n```\n\n## Usage\n\nSpecify the database URL and a CSV file to import. The table name will be derived from the filename by default.\n\n```\nsql-importer -db postgres://127.0.0.1:5432/postgres data.csv\n```\n\nSee other options by running `sql-importer -h`.\n\n## Status\n\nBeta, works as expected. Command line options will likely change.\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchop-dbhi%2Fsql-importer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchop-dbhi%2Fsql-importer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchop-dbhi%2Fsql-importer/lists"}