{"id":25165577,"url":"https://github.com/msztolcman/integresql-client-python","last_synced_at":"2025-10-05T10:40:50.032Z","repository":{"id":49096391,"uuid":"369170113","full_name":"msztolcman/integresql-client-python","owner":"msztolcman","description":"Python client for IntegreSQL","archived":false,"fork":false,"pushed_at":"2024-04-17T02:03:10.000Z","size":72,"stargazers_count":9,"open_issues_count":5,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-08T11:00:02.178Z","etag":null,"topics":["integration-testing","integresql","postgresql","testing"],"latest_commit_sha":null,"homepage":"","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/msztolcman.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,"zenodo":null}},"created_at":"2021-05-20T10:32:14.000Z","updated_at":"2024-08-07T23:52:52.000Z","dependencies_parsed_at":"2025-04-30T19:48:35.761Z","dependency_job_id":"0f9848b3-3787-4f91-a2af-57ea57b20365","html_url":"https://github.com/msztolcman/integresql-client-python","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/msztolcman/integresql-client-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msztolcman%2Fintegresql-client-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msztolcman%2Fintegresql-client-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msztolcman%2Fintegresql-client-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msztolcman%2Fintegresql-client-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/msztolcman","download_url":"https://codeload.github.com/msztolcman/integresql-client-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/msztolcman%2Fintegresql-client-python/sbom","scorecard":{"id":666343,"data":{"date":"2025-08-11","repo":{"name":"github.com/msztolcman/integresql-client-python","commit":"8636434f20ab771ac66885f3bdfe819a7e9ebbfe"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"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/10 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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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"}},{"name":"Vulnerabilities","score":0,"reason":"22 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2022-301 / GHSA-8fg9-p83m-x5pq","Warn: Project is vulnerable to: PYSEC-2024-4 / GHSA-2mqj-m65w-jghx","Warn: Project is vulnerable to: PYSEC-2023-165 / GHSA-cwvm-v4w8-q58c","Warn: Project is vulnerable to: PYSEC-2022-42992 / GHSA-hcpj-qp55-gfph","Warn: Project is vulnerable to: PYSEC-2023-137 / GHSA-pr76-5cm5-w9cj","Warn: Project is vulnerable to: PYSEC-2023-161 / GHSA-wfm5-v35h-vwf4","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: PYSEC-2023-117 / GHSA-mrwq-x4v8-fh7p","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-g7vv-2v7x-gj9p","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2021-108 / GHSA-q2q7-5pp4-w6pg","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T18:09:29.276Z","repository_id":49096391,"created_at":"2025-08-21T18:09:29.276Z","updated_at":"2025-08-21T18:09:29.276Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278444495,"owners_count":25987788,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":["integration-testing","integresql","postgresql","testing"],"created_at":"2025-02-09T05:26:40.009Z","updated_at":"2025-10-05T10:40:50.002Z","avatar_url":"https://github.com/msztolcman.png","language":"Python","readme":"integresql-client-python\n========================\n\n[![integresql-client-python version](https://img.shields.io/pypi/v/integresql-client-python.svg)](https://pypi.python.org/pypi/integresql-client-python)\n[![integresql-client-python license](https://img.shields.io/pypi/l/integresql-client-python.svg)](https://pypi.python.org/pypi/integresql-client-python)\n[![integresql-client-python python compatibility](https://img.shields.io/pypi/pyversions/integresql-client-python.svg)](https://pypi.python.org/pypi/integresql-client-python)\n[![Downloads](https://static.pepy.tech/personalized-badge/integresql-client-python?period=total\u0026units=international_system\u0026left_color=grey\u0026right_color=yellow\u0026left_text=Downloads)](https://pepy.tech/project/integresql-client-python)\n[![say thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/marcin%40urzenia.net)\n\nPython client for [IntegreSQL](https://github.com/allaboutapps/integresql).\n\n\nCurrent stable version\n----------------------\n\n0.9.2\n\nPython version\n--------------\n\n`integresql-client-python` is tested against Python 3.8+. Older Python versions may work, or may not.\n\nHow to use\n----------\n\n```python\nfrom integresql_client_python import IntegreSQL\n\nintegresql = IntegreSQL('template_directory')\n\n# integresql.debug = True\n\nwith integresql as tpl:\n    with tpl.initialize() as dbinfo:\n        # dbinfo is None if template is already initialized\n        if dbinfo:\n            # connect and import fixtures\n            print(\"initialize db with fixtures with db data:\", dbinfo)\n\n    db = tpl.get_database()\n    with db as dbinfo:\n        # connect and do whatever you want\n        print(\"Do your tests with db data:\", dbinfo)\n\n    # or manually, you can use as many databases as you need or IntegreSQL will allow\n    dbinfo1 = db.open()\n    print(\"Do your tests\", dbinfo1)\n    dbinfo2 = db.open()\n    print(\"Do your tests\", dbinfo2)\n    dbinfo3 = db.open()\n    print(\"Do your tests\", dbinfo3)\n    # connect and do whatever you want\n\n    # do not forget about closing resources:\n    db.close(dbinfo1)\n    db.close(dbinfo2)\n    db.close(dbinfo3)\n```\n\nAuthors\n-------\n\n* Marcin Sztolcman ([marcin@urzenia.net](mailto:marcin@urzenia.net))\n\nContact\n-------\n\nIf you like or dislike this software, please do not hesitate to tell me about\nit via email ([marcin@urzenia.net](mailto:marcin@urzenia.net)).\n\nIf you find a bug or have an idea to enhance this tool, please use GitHub's\n[issues](https://github.com/msztolcman/integresql-client-python/issues).\n\nChangeLog\n---------\n### v0.9.2\n\n* fixed a bug where test database was returned to pool after every test and got reused.\n  Renamed method `Database.close()` to `Database.mark_unmodified()`. Using\n  `Database` in `with` block doesn't return selected database to pool anymore.\n\n### v0.9.1\n\n* allow using multiple template paths\n\n### v0.9.0\n\n* first public version\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsztolcman%2Fintegresql-client-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmsztolcman%2Fintegresql-client-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmsztolcman%2Fintegresql-client-python/lists"}