{"id":15037540,"url":"https://github.com/hypothesisworks/hypothesis","last_synced_at":"2026-04-08T21:03:34.993Z","repository":{"id":7360827,"uuid":"8685799","full_name":"HypothesisWorks/hypothesis","owner":"HypothesisWorks","description":"The property-based testing library for Python","archived":false,"fork":false,"pushed_at":"2025-12-07T00:08:56.000Z","size":42222,"stargazers_count":8306,"open_issues_count":61,"forks_count":628,"subscribers_count":66,"default_branch":"master","last_synced_at":"2025-12-13T00:49:42.913Z","etag":null,"topics":["fuzzing","property-based-testing","python","testing"],"latest_commit_sha":null,"homepage":"https://hypothesis.works","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HypothesisWorks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE.txt","code_of_conduct":".github/CODE_OF_CONDUCT.rst","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-03-10T13:51:19.000Z","updated_at":"2025-12-12T13:06:38.000Z","dependencies_parsed_at":"2025-12-12T02:07:58.091Z","dependency_job_id":null,"html_url":"https://github.com/HypothesisWorks/hypothesis","commit_stats":{"total_commits":11363,"total_committers":341,"mean_commits":33.32258064516129,"dds":"0.44583296664613214","last_synced_commit":"058420a4d745f19717f55e85b0493d3b68461bc7"},"previous_names":["drmaciver/hypothesis","hypothesisworks/hypothesis-python"],"tags_count":1777,"template":false,"template_full_name":null,"purl":"pkg:github/HypothesisWorks/hypothesis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HypothesisWorks%2Fhypothesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HypothesisWorks%2Fhypothesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HypothesisWorks%2Fhypothesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HypothesisWorks%2Fhypothesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HypothesisWorks","download_url":"https://codeload.github.com/HypothesisWorks/hypothesis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HypothesisWorks%2Fhypothesis/sbom","scorecard":{"id":35672,"data":{"date":"2025-08-11","repo":{"name":"github.com/HypothesisWorks/hypothesis","commit":"f2bf8a64b0cad4e31c04937d30bb7bd3d613504a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.9,"checks":[{"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":"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":"Maintained","score":10,"reason":"30 commit(s) and 24 issue activity found in the last 90 days -- score normalized to 10","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":6,"reason":"Found 4/6 approved changesets -- score normalized to 6","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/fuzz.yml:1","Warn: no topLevel permission defined: .github/workflows/main.yml:1","Warn: no topLevel permission defined: .github/workflows/update-deps.yml:1","Info: topLevel 'contents' permission set to 'read': .github/workflows/website.yml:13","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":"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":"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/fuzz.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/fuzz.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/fuzz.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/fuzz.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/fuzz.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/fuzz.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/fuzz.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/fuzz.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/fuzz.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/fuzz.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/fuzz.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/fuzz.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:115: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:119: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:151: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:174: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:178: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:183: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:221: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:225: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:229: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:251: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:255: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:297: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:302: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:306: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-deps.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/update-deps.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/update-deps.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/update-deps.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/update-deps.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/update-deps.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/website.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/website.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/website.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/HypothesisWorks/hypothesis/website.yml/master?enable=pin","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:13","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:22","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:26","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:31","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:32","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:36","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:40","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:41","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:43","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:48","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:54","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:56","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:59","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:81","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:86","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/basic-test.sh:90","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:7","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:20","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:24","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:29","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:30","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:31","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:40","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:44","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:45","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:47","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:52","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:57","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:59","Warn: pipCommand not pinned by hash: hypothesis-python/scripts/other-tests.sh:62","Warn: downloadThenRun not pinned by hash: tooling/scripts/ensure-rustup.sh:15","Warn: pipCommand not pinned by hash: .github/workflows/fuzz.yml:60","Warn: pipCommand not pinned by hash: .github/workflows/fuzz.yml:61","Warn: pipCommand not pinned by hash: .github/workflows/fuzz.yml:62","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:264","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:268","Info:   1 out of  26 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   1 out of  36 pipCommand dependencies pinned","Info:   0 out of   1 downloadThenRun 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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Warn: project license file does not contain an FSF or OSI license."],"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":"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":"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"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-jphg-qwrw-7w9g","Warn: Project is vulnerable to: GHSA-jppv-gw3r-w3q8","Warn: Project is vulnerable to: GHSA-q3wr-qw3g-3p4h","Warn: Project is vulnerable to: GHSA-8mq4-9jjh-9xrc","Warn: Project is vulnerable to: GHSA-xfhh-rx56-rxcr"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T20:13:57.914Z","repository_id":7360827,"created_at":"2025-08-14T20:13:57.914Z","updated_at":"2025-08-14T20:13:57.914Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27701949,"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-12-13T02:00:09.769Z","response_time":147,"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":["fuzzing","property-based-testing","python","testing"],"created_at":"2024-09-24T20:34:57.286Z","updated_at":"2025-12-13T17:05:48.384Z","avatar_url":"https://github.com/HypothesisWorks.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/HypothesisWorks/hypothesis/master/brand/dragonfly-rainbow.svg\" width=\"300\"\u003e\n\u003c/div\u003e\n\n# Hypothesis\n\n* [Website](https://hypothesis.works/)\n* [Documentation](https://hypothesis.readthedocs.io/en/latest/)\n* [Source code](https://github.com/hypothesisWorks/hypothesis/)\n* [Contributing](https://github.com/HypothesisWorks/hypothesis/blob/master/CONTRIBUTING.rst)\n* [Community](https://hypothesis.readthedocs.io/en/latest/community.html)\n\nHypothesis is the property-based testing library for Python. With Hypothesis, you write tests which should pass for all inputs in whatever range you describe, and let Hypothesis randomly choose which of those inputs to check - including edge cases you might not have thought about. For example:\n\n```python\nfrom hypothesis import given, strategies as st\n\n\n@given(st.lists(st.integers()))\ndef test_matches_builtin(ls):\n    assert sorted(ls) == my_sort(ls)\n```\n\nThis randomized testing can catch bugs and edge cases that you didn't think of and wouldn't have found. In addition, when Hypothesis does find a bug, it doesn't just report any failing example — it reports the simplest possible one. This makes property-based tests a powerful tool for debugging, as well as testing.\n\nFor instance,\n\n```python\ndef my_sort(ls):\n    return sorted(set(ls))\n```\n\nfails with the simplest possible failing example:\n\n```\nFalsifying example: test_matches_builtin(ls=[0, 0])\n```\n\n### Installation\n\nTo install Hypothesis:\n\n```\npip install hypothesis\n```\n\nThere are also [optional extras available](https://hypothesis.readthedocs.io/en/latest/extras.html).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypothesisworks%2Fhypothesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypothesisworks%2Fhypothesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypothesisworks%2Fhypothesis/lists"}