{"id":24746561,"url":"https://github.com/samuelmarks/odbc-ini-gen","last_synced_at":"2026-04-13T11:02:08.274Z","repository":{"id":252294142,"uuid":"839647695","full_name":"SamuelMarks/odbc-ini-gen","owner":"SamuelMarks","description":"ODBC dynamic ini builder, like GRUB update-triggers os-probe but for your database drivers.","archived":false,"fork":false,"pushed_at":"2024-08-18T04:00:13.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T01:27:32.095Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamuelMarks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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-08-08T03:43:47.000Z","updated_at":"2024-08-18T04:00:16.000Z","dependencies_parsed_at":"2024-08-18T05:28:51.336Z","dependency_job_id":null,"html_url":"https://github.com/SamuelMarks/odbc-ini-gen","commit_stats":null,"previous_names":["samuelmarks/odbc-ini-gen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamuelMarks/odbc-ini-gen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fodbc-ini-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fodbc-ini-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fodbc-ini-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fodbc-ini-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamuelMarks","download_url":"https://codeload.github.com/SamuelMarks/odbc-ini-gen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMarks%2Fodbc-ini-gen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31749763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-01-28T04:29:18.520Z","updated_at":"2026-04-13T11:02:08.259Z","avatar_url":"https://github.com/SamuelMarks.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"odbc-ini-gen\n============\n[![License](https://img.shields.io/badge/license-Apache--2.0%20OR%20MIT-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![CI for Linux, Windows, macOS](https://github.com/SamuelMarks/odbc-ini-gen/workflows/CI%20for%20Linux,%20Windows,%20macOS/badge.svg)](https://github.com/SamuelMarks/odbc-ini-gen/actions)\n[![CI for FreeBSD](https://api.cirrus-ci.com/github/SamuelMarks/odbc-ini-gen.svg)](https://cirrus-ci.com/github/SamuelMarks/odbc-ini-gen)\n[![C89](https://img.shields.io/badge/C-89-blue)](https://en.wikipedia.org/wiki/C89_(C_version))\n\nODBC dynamic ini builder, like GRUB update-triggers os-probe but for your database drivers.\n\n## Current inferences\n\n| Name                     | Detected from                                                               |\n|--------------------------|-----------------------------------------------------------------------------|\n| 1-Wire weather sensors   | `libw1odbc.so`                                                              |\n| FreeTDS (MS SQL, Sybase) | `libtdsodbc.so`                                                             |\n| MariaDB                  | `libmaodbc.so`                                                              |\n| MDB (MS Access, JET)     | `libmdbodbc.so`                                                             |\n| PostgreSQL               | `psqlodbca.so`; `psqlodbcw.so`                                              |\n| SQLite                   | `libsqliteodbc.so`; `libsqlite3odbc-0.9998.so`; `libsqlite3odbc-0.99991.so` |\n\n## `--help`\n\n    odbc-ini-gen: ODBC dynamic ini builder, like GRUB update-triggers os-probe but for your database drivers.\n    (by default does `--infer-all` with output to stdout)\n    \n    Usage:\n    odbc-ini-gen...\n    odbc-ini-gen --output=\u003cf\u003e...\n    odbc-ini-gen --infer-all...\n    odbc-ini-gen --infer-all --output=\u003cf\u003e...\n    odbc-ini-gen --infer-all --search=\u003cfolder\u003e...\n    odbc-ini-gen --infer-all --search=\u003cfolder\u003e --output=\u003cf\u003e...\n    odbc-ini-gen --name=\u003cname\u003e --driver=\u003clib\u003e...\n    odbc-ini-gen --name=\u003cname\u003e --driver=\u003clib\u003e --output=\u003cf\u003e...\n    odbc-ini-gen --name=\u003cname\u003e --driver=\u003clib\u003e --desc=\u003cdesc\u003e...\n    odbc-ini-gen --name=\u003cname\u003e --driver=\u003clib\u003e --desc=\u003cdesc\u003e --output=\u003cf\u003e...\n    odbc-ini-gen --help\n    odbc-ini-gen --version\n    \n    Options:\n    -h --help               Show this screen.\n    --version               Show version.\n    --infer-all             Find ODBC shared libraries and infer their database names. This is the default.\n    --no-infer-all          Doesn't infer anything automatically. This is default when `--name` or `--driver` is provided.\n    --name=\u003cname\u003e           Explicitly provided library name\n    --desc=\u003clib\u003e            Explicitly provided description\n    --props=\u003cs\u003e             Explicitly additional properties (doesn't validate)\n    --driver=\u003clib\u003e          Explicitly provided shared library||object location (doesn't check existence)\n    --search=\u003cfolder\u003e       Folder to (non-recursively) search for shared objects within\n    -o=\u003cf\u003e, --output=\u003cf\u003e    Output file. If not specified: will use `stdout`. If specified: will overwrite file.\n\n## Build dependencies\n\n- [CMake](https://cmake.org) (3.19 or later)\n- C compiler (any that work with CMake, and were released within the last 30 years)\n\n### Build\n\n```bash\nmkdir build \u0026\u0026 cd build\ncmake ..\ncmake --build .\n```\n\n### Docker\n\n```bash\ndocker build . -t odbc-ini-gen:latest\n```\n\n### CLI interface\n\nGenerated with `docopt`, use `python -m pip install https://api.github.com/repos/offscale/docopt.c/zipball/pyth\non-3-13#egg=docopt_c` then:\n\n```bash\n$ python -m docopt_c '.docopt' -o 'odbc_ini_gen/'\n```\n\n## OS/distribution specific notes\n\n### Cygwin\n\n[iODBC](https://www.iodbc.org) is used.\n\n---\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttps://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttps://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Fodbc-ini-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelmarks%2Fodbc-ini-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmarks%2Fodbc-ini-gen/lists"}