{"id":34083408,"url":"https://github.com/ebenefuenf/quma","last_synced_at":"2026-04-02T17:27:14.164Z","repository":{"id":57459525,"uuid":"149780108","full_name":"ebenefuenf/quma","owner":"ebenefuenf","description":"quma - A Python database libary","archived":false,"fork":false,"pushed_at":"2025-10-28T12:02:03.000Z","size":362,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-01T22:50:11.908Z","etag":null,"topics":["database","mysql","postgresql","python","sql","sqlite3"],"latest_commit_sha":null,"homepage":"https://quma.readthedocs.io","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/ebenefuenf.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":"LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-09-21T15:09:54.000Z","updated_at":"2025-10-28T12:01:55.000Z","dependencies_parsed_at":"2025-10-28T13:07:20.136Z","dependency_job_id":"3f544f07-bdc1-402d-b573-ca7ef13b9c0d","html_url":"https://github.com/ebenefuenf/quma","commit_stats":{"total_commits":263,"total_committers":2,"mean_commits":131.5,"dds":0.03041825095057038,"last_synced_commit":"c9f7f14c4a3e016f69f9e3fc51543e38bef58dd4"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/ebenefuenf/quma","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebenefuenf%2Fquma","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebenefuenf%2Fquma/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebenefuenf%2Fquma/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebenefuenf%2Fquma/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ebenefuenf","download_url":"https://codeload.github.com/ebenefuenf/quma/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ebenefuenf%2Fquma/sbom","scorecard":{"id":364588,"data":{"date":"2025-08-11","repo":{"name":"github.com/ebenefuenf/quma","commit":"63b609beb513093aeb003ef5ca4c7877b2e1a6ee"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/ebenefuenf/quma/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/ebenefuenf/quma/ci.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:63","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.rst:0","Info: FSF or OSI recognized license: MIT License: LICENSE.rst:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-18T11:34:14.999Z","repository_id":57459525,"created_at":"2025-08-18T11:34:15.000Z","updated_at":"2025-08-18T11:34:15.000Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31311486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["database","mysql","postgresql","python","sql","sqlite3"],"created_at":"2025-12-14T12:43:06.935Z","updated_at":"2026-04-02T17:27:14.155Z","avatar_url":"https://github.com/ebenefuenf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"====\nquma\n====\n\n|build| |docs|\n\nquma is a small SQL database library for **Python** and **PyPy** version 3.10 and higher.\nIt maps object methods to SQL script files and supports **SQLite**, **PostgreSQL**,\n**MySQL** and **MariaDB**.\n\nIt also provides a simple connection pool and templating for dynamic SQL like\nconditional WHEREs.\n\nMotivation\n----------\n\nUnlike ORMs, it allows to write SQL as it was intended and to use all features\nthe DBMS provides. As it uses plain SQL files you can fully utilize your database\neditor or IDE to author your queries.\n\nIf you know how to best design your DDL and already have a SELECT in your mind\nwhen data needs to be retrieved, welcome, this is for you.\n\nIt gives you back your powers you so carelessly gave away to ORMs.\n\nInstallation\n------------\n\n::\n\n    pip install quma\n\nQuick Start\n-----------\n\nThe full documentation is available at https://quma.readthedocs.io\n\nGiven a directory with some SQL scripts e. g.:\n\n::\n\n    /path/to/sql/scripts\n    ├── users\n    │    ├── all.sql\n    │    └── remove.sql\n    └── get_admin.sql\n\nYou can access these scripts after connecting to the database:\n\n.. code-block:: python\n\n    from quma import Database\n\n    db = Database('sqlite:///:memory:', '/path/to/sql/scripts')\n\n    db.execute('CREATE TABLE users ...')\n\n    with db.cursor as cur:\n        all_users = cur.users.all()\n\n        for user in all_users:\n            print(user['name'])\n\n        cur.users.remove(id=user['id']).run()\n        cur.commit()\n\n        admin = cur.get_admin().one()\n\nDeploy to PyPi\n--------------\n\nInstall ``uv`` if not already done. Bump version number in\n``setup.py``, then:\n\n::\n\n    git tag -a X.X.X -m \"quma version X.X.X\"\n    git push origin X.X.X\n    uv build\n\n\t# publish manually\n    uv publish --username \u003cuser\u003e --token \u003ctoken\u003e\n\n\t# publish with credentials in .pypirc\n\tuvx uv-publish\n\nLicense\n-------\n\nquma is released under the MIT license.\n\nCopyright © 2018-2024 ebene fünf GmbH. All rights reserved.\n\n.. |build| image:: https://badge.fury.io/py/quma.svg\n    :target: https://badge.fury.io/py/quma\n    :alt: PyPi package version\n\n.. |docs| image:: https://readthedocs.org/projects/quma/badge/?version=latest\n    :target: https://quma.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febenefuenf%2Fquma","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febenefuenf%2Fquma","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febenefuenf%2Fquma/lists"}