{"id":15447108,"url":"https://github.com/jochasinga/sqlx","last_synced_at":"2025-06-15T04:04:05.624Z","repository":{"id":149002593,"uuid":"619373831","full_name":"jochasinga/sqlx","owner":"jochasinga","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-27T04:44:01.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T08:43:15.654Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jochasinga.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":"2023-03-27T02:27:20.000Z","updated_at":"2023-03-27T02:28:24.000Z","dependencies_parsed_at":"2023-09-02T11:35:19.159Z","dependency_job_id":null,"html_url":"https://github.com/jochasinga/sqlx","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"a4509d62e24631fe07eac1f8b3ea5fcf4d27aca4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jochasinga/sqlx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jochasinga%2Fsqlx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jochasinga%2Fsqlx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jochasinga%2Fsqlx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jochasinga%2Fsqlx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jochasinga","download_url":"https://codeload.github.com/jochasinga/sqlx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jochasinga%2Fsqlx/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259919354,"owners_count":22932069,"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":[],"created_at":"2024-10-01T20:03:31.761Z","updated_at":"2025-06-15T04:04:05.589Z","avatar_url":"https://github.com/jochasinga.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sqlx\n\nA more user-friendly alternative to psql CLI. What psql could have been. Make database accessible to everyone.\n\n## Commands\n\n### connect [--url]\n\nSet up a PostgreSQL database to connect to using a URL string or name, user, password, and host.\n\n### disconnect\n\nForget the PostgreSQL database previously saved.\n\n### info\n\nProvide information of the current database.\n\n### show-tables\n\nShow all the tables in the current database.\n\n### describe [TABLE_NAME]\n\nShow the `column_name`, `data_type`, `is_nullable`, and `column_default` of a table's column(s).\n\n```shell\nsqlx describe account\n```\n\n### prompt (beta)\n\nConvert a query in natural language to SQL query and show the formatted result table if available.\n\n```shell\nsqlx prompt\nYour prompt: get account that has username of user3\n```\n\nOr inserting:\n\n```shell\nsqlx prompt\nYour prompt: insert an account with username of 'user3' and email of 'user3@gmail.com'\n```\n\nTo use this, you need to have an API key from [OpenAI](openai.com). Create an `.env` file with `OPENAI_API_KEY` variable and place it in the top-level directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjochasinga%2Fsqlx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjochasinga%2Fsqlx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjochasinga%2Fsqlx/lists"}