{"id":16863840,"url":"https://github.com/studioj/wait_for_it","last_synced_at":"2025-06-16T12:39:24.080Z","repository":{"id":35047842,"uuid":"186278284","full_name":"studioj/wait_for_it","owner":"studioj","description":"a python package which waits for a certain result to be there","archived":false,"fork":false,"pushed_at":"2024-12-07T08:42:46.000Z","size":125,"stargazers_count":1,"open_issues_count":11,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T04:11:18.669Z","etag":null,"topics":["python","tooling","wait"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/studioj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","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":"2019-05-12T16:29:07.000Z","updated_at":"2023-05-19T18:57:17.000Z","dependencies_parsed_at":"2023-02-17T03:16:08.693Z","dependency_job_id":"e634ad05-0dd7-4735-8e29-1e1da4ff9948","html_url":"https://github.com/studioj/wait_for_it","commit_stats":{"total_commits":110,"total_committers":3,"mean_commits":"36.666666666666664","dds":"0.26363636363636367","last_synced_commit":"6962445af7364e29c49d1b11fc811ec1947bec33"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/studioj/wait_for_it","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studioj%2Fwait_for_it","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studioj%2Fwait_for_it/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studioj%2Fwait_for_it/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studioj%2Fwait_for_it/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/studioj","download_url":"https://codeload.github.com/studioj/wait_for_it/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/studioj%2Fwait_for_it/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260109456,"owners_count":22960023,"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":["python","tooling","wait"],"created_at":"2024-10-13T14:39:55.646Z","updated_at":"2025-06-16T12:39:24.044Z","avatar_url":"https://github.com/studioj.png","language":"Python","readme":"### waitforit\n\n| What                  | Badges                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |\n|-----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Code and Test Quality | [![codecov](https://codecov.io/gh/studioj/wait_for_it/branch/master/graph/badge.svg)](https://codecov.io/gh/studioj/wait_for_it) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/d3292d34dbfd4fae8e2427da3bb77198)](https://www.codacy.com/manual/studioj/wait_for_it?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=studioj/wait_for_it\u0026amp;utm_campaign=Badge_Grade) [![CodeFactor](https://www.codefactor.io/repository/github/studioj/wait_for_it/badge)](https://www.codefactor.io/repository/github/studioj/wait_for_it)                                                                                                                                                  |\n| SonarQube             | [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=studioj_wait_for_it\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=studioj_wait_for_it) [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=studioj_wait_for_it\u0026metric=code_smells)](https://sonarcloud.io/dashboard?id=studioj_wait_for_it) [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=studioj_wait_for_it\u0026metric=bugs)](https://sonarcloud.io/dashboard?id=studioj_wait_for_it) [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=studioj_wait_for_it\u0026metric=vulnerabilities)](https://sonarcloud.io/dashboard?id=studioj_wait_for_it) |\n| PyPI                  | ![PyPI - Downloads](https://img.shields.io/pypi/dw/wait_for_it_to?style=flat)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |\n\nThis is a library for letting your python code wait for a certain action to complete\n\nshort example\n\nGiven these functions\n```python\nimport wait_for_it_to\ndef foo():\n  return True\n\ndef bar(param):\n  x = param\n  return False\n```\n\nThis would immediatly return\n```python\n\u003e\u003e wait_for_it_to.be_true(foo)\n\u003e\u003e\n```\n\nYou can also pass parameters as a list\n```python\n\u003e\u003e wait_for_it_to.be_true(bar, args=[1])\nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\n  File \"..\\wait_for_it\\wait_for_it_to\\__init__.py\", line 27, in be_true\n    raise TimeoutError(msg)\nTimeoutError: expected something that evaluates to True, but got False instead\n```\n\nYou can also pass a timeout value in seconds\n```python\n\u003e\u003e wait_for_it_to.be_true(foo, timeout=5)\n```\nQuite similar you have the functionality\n```python\n\u003e\u003e wait_for_it_to.be_false(bar, timeout=5, args[1])\n\u003e\u003e wait_for_it_to.equal(bar, False, timeout=5, args[1])\n\u003e\u003e wait_for_it_to.not_raise_an_exception(bar, timeout=5, RuntimeError)\n```\n### Version History\n\n\u003chttps://github.com/studioj/wait_for_it/releases\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudioj%2Fwait_for_it","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstudioj%2Fwait_for_it","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstudioj%2Fwait_for_it/lists"}