{"id":20947372,"url":"https://github.com/computemachines/quickconstraint","last_synced_at":"2026-07-18T15:31:26.755Z","repository":{"id":78335119,"uuid":"82818151","full_name":"computemachines/quickconstraint","owner":"computemachines","description":"QuickCheck style property testing and run-time constraint checking for python.","archived":false,"fork":false,"pushed_at":"2017-03-02T04:43:03.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T04:02:49.091Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/computemachines.png","metadata":{"files":{"readme":"README.rst","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":"2017-02-22T15:09:30.000Z","updated_at":"2017-02-22T15:11:31.000Z","dependencies_parsed_at":"2023-06-11T09:45:19.717Z","dependency_job_id":null,"html_url":"https://github.com/computemachines/quickconstraint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/computemachines/quickconstraint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computemachines%2Fquickconstraint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computemachines%2Fquickconstraint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computemachines%2Fquickconstraint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computemachines%2Fquickconstraint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/computemachines","download_url":"https://codeload.github.com/computemachines/quickconstraint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/computemachines%2Fquickconstraint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35622753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-18T02:00:07.223Z","response_time":61,"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":[],"created_at":"2024-11-19T00:10:59.773Z","updated_at":"2026-07-18T15:31:26.730Z","avatar_url":"https://github.com/computemachines.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Clean property based testing for python\n========================================\n\nExample usage: sqrt.py::\n\n  from quickconstraint import constrain\n\n  @constrain\n  def sqrt(x2: lambda x: 0 \u003c= x):\n      x = 1\n      while not approx(x*x - x2):\n          x = (x + x2/x)/2.0\n      return x\n\ntest-sqrt.py::\n\n  from quickconstraint import theorem, test_all_theorems\n\n  @theorem\n  def theorem_sqrt_sq_inverse(n): return sq(sqrt(n)) == n\n\n  if __name__==\"__main__\":\n      test_all_theorems()\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomputemachines%2Fquickconstraint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomputemachines%2Fquickconstraint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomputemachines%2Fquickconstraint/lists"}