{"id":19772050,"url":"https://github.com/danieldacosta/database-connection","last_synced_at":"2026-04-16T02:32:19.586Z","repository":{"id":112641400,"uuid":"410913972","full_name":"DanielDaCosta/database-connection","owner":"DanielDaCosta","description":"Script for connecting and executing queries into Postgres database","archived":false,"fork":false,"pushed_at":"2022-01-28T19:42:08.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T07:48:03.216Z","etag":null,"topics":["postgres","psycopg2","sql"],"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/DanielDaCosta.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":"2021-09-27T14:17:31.000Z","updated_at":"2022-01-09T21:49:25.000Z","dependencies_parsed_at":"2023-06-02T05:45:31.535Z","dependency_job_id":null,"html_url":"https://github.com/DanielDaCosta/database-connection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DanielDaCosta/database-connection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Fdatabase-connection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Fdatabase-connection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Fdatabase-connection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Fdatabase-connection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielDaCosta","download_url":"https://codeload.github.com/DanielDaCosta/database-connection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielDaCosta%2Fdatabase-connection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31868495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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":["postgres","psycopg2","sql"],"created_at":"2024-11-12T05:05:15.840Z","updated_at":"2026-04-16T02:32:19.568Z","avatar_url":"https://github.com/DanielDaCosta.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Database Connection\nPython script for connecting and executing queries into a **Postgres** database.\n\n# Prerequisites\nSet-up your Database credentials into **Parameter Store/AWS System Manager**.\n\nInstall `psycopg2`: `pip install psycopg2-binary`.\n\n![ParameterStore](Images/ParameterStore.png)\n\n# Usage\n1. Set the variable PATH_DB_NAME on file `config.py`.\n2. Right your queries in the folder `Queries`\n3. Run your Postgres commands. Check all the available functions on the file `database.py`\n4. Check `example.py` for how to use the module.\n\n# References \u0026 Acknowledgments\n`psycopg2` library:\n- https://www.psycopg.org/docs/usage.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldacosta%2Fdatabase-connection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanieldacosta%2Fdatabase-connection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanieldacosta%2Fdatabase-connection/lists"}