{"id":19793263,"url":"https://github.com/zguillez/zpy-database","last_synced_at":"2026-04-11T02:42:22.507Z","repository":{"id":65843292,"uuid":"601119248","full_name":"zguillez/zpy-database","owner":"zguillez","description":"Python database wrapper","archived":false,"fork":false,"pushed_at":"2023-02-14T00:44:48.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T04:35:08.955Z","etag":null,"topics":["database","developer-tools","helper","mysql","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/zpy-database/","language":"Python","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/zguillez.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-13T12:10:29.000Z","updated_at":"2023-02-13T17:18:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"83bf7be0-79cb-4a72-9a44-d55741739f3b","html_url":"https://github.com/zguillez/zpy-database","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"d383313c9293e9aa71606e27abf6af3c6cbc433f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zguillez%2Fzpy-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zguillez%2Fzpy-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zguillez%2Fzpy-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zguillez%2Fzpy-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zguillez","download_url":"https://codeload.github.com/zguillez/zpy-database/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241133107,"owners_count":19915338,"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":["database","developer-tools","helper","mysql","python"],"created_at":"2024-11-12T07:09:19.758Z","updated_at":"2026-04-11T02:42:17.486Z","avatar_url":"https://github.com/zguillez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zpy-database v0.1.7\n\n\u003e [Zguillez](https://zguillez.io) | Guillermo de la Iglesia\n\n## Pyton database wrapper\n\n# Getting Started\n\n## Install\n\n```\npip install --upgrade zpy-database\n```\n\n# Usage\n\n```\nfrom zpy_database import database as db\n\ndb.connect({\n    'conn': os.environ['DB_HOST'],\n    'database': os.environ['DB_NAME'],\n    'user': os.environ['DB_USER'],\n    'password': os.environ['DB_PASS']\n})\n```\n\n```\ndata = db.sql(\"SELECT id, name FROM my_table\")\nprint(data[0])\n```\n\n```\ndata = db.dict(\"SELECT id, name FROM my_table\", ['id', 'name'])\nprint(data[0]['name'])\n```\n\n```\ndb.close()\n```\n\n# Contributing and issues\n\nContributors are welcome, please fork and send pull requests! If you have any ideas on how to make this project better\nthen please submit an issue or [email](mailto:guillermo@delaiglesia.email) me.\n\n# License\n\n©2023 Zguillez.IO\n\nOriginal code licensed under [MIT](https://en.wikipedia.org/wiki/MIT_License) Open Source projects used within this\nproject retain their original licenses.\n\n# Changelog\n\n### v0.1.7 (February 13, 2023)\n\n* Initial commit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzguillez%2Fzpy-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzguillez%2Fzpy-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzguillez%2Fzpy-database/lists"}