{"id":15060665,"url":"https://github.com/kellyjadams/run-sql-in-python","last_synced_at":"2025-07-29T21:11:46.248Z","repository":{"id":240147631,"uuid":"801802176","full_name":"kellyjadams/run-sql-in-python","owner":"kellyjadams","description":"Scripts to connect python to BigQuery or a PostgreSQL database.","archived":false,"fork":false,"pushed_at":"2024-05-23T20:08:59.000Z","size":16,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T12:12:41.188Z","etag":null,"topics":["bigquery","postgresql","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/kellyjadams.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-05-17T00:14:12.000Z","updated_at":"2024-05-24T15:23:41.000Z","dependencies_parsed_at":"2024-09-24T23:01:58.994Z","dependency_job_id":"50b67103-4bba-4b11-acab-7fad0be62448","html_url":"https://github.com/kellyjadams/run-sql-in-python","commit_stats":null,"previous_names":["kellyjadams/connect-python-to-database","kellyjadams/run-sql-in-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellyjadams%2Frun-sql-in-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellyjadams%2Frun-sql-in-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellyjadams%2Frun-sql-in-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kellyjadams%2Frun-sql-in-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kellyjadams","download_url":"https://codeload.github.com/kellyjadams/run-sql-in-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248225716,"owners_count":21068078,"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":["bigquery","postgresql","python"],"created_at":"2024-09-24T23:02:28.535Z","updated_at":"2025-04-10T13:33:14.848Z","avatar_url":"https://github.com/kellyjadams.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect Python to Database\n\nPython code to connect to a PostgreSQL or BigQuery database.\n\nThere are two files: \n1. [Connect to PostgreSQL](postgresql.py)\n2. [Connect to BigQuery](bigquery.py)\n\nFor a detailed explanation see my blog post [here](https://www.kellyjadams.com/post/how-to-run-sql-in-python-connecting-to-postgresql-and-bigquery). \n\nNotes:\n- For the PostgreSQL file it uses a secret manager to hold the password for the database.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkellyjadams%2Frun-sql-in-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkellyjadams%2Frun-sql-in-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkellyjadams%2Frun-sql-in-python/lists"}