{"id":17115208,"url":"https://github.com/not-raspberry/spawn_and_check","last_synced_at":"2025-03-23T23:44:21.612Z","repository":{"id":31803780,"uuid":"35370357","full_name":"not-raspberry/spawn_and_check","owner":"not-raspberry","description":"Spawn a process and wait until it's ready. Stop the OS-level race condition pain in your tests.","archived":false,"fork":false,"pushed_at":"2016-07-12T19:49:24.000Z","size":27,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-29T06:51:44.579Z","etag":null,"topics":["process-instrumentation","unix"],"latest_commit_sha":null,"homepage":"","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/not-raspberry.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}},"created_at":"2015-05-10T12:38:43.000Z","updated_at":"2017-04-15T17:42:14.000Z","dependencies_parsed_at":"2022-07-24T23:46:29.667Z","dependency_job_id":null,"html_url":"https://github.com/not-raspberry/spawn_and_check","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-raspberry%2Fspawn_and_check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-raspberry%2Fspawn_and_check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-raspberry%2Fspawn_and_check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/not-raspberry%2Fspawn_and_check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/not-raspberry","download_url":"https://codeload.github.com/not-raspberry/spawn_and_check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186923,"owners_count":20574554,"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":["process-instrumentation","unix"],"created_at":"2024-10-14T17:22:11.121Z","updated_at":"2025-03-23T23:44:21.591Z","avatar_url":"https://github.com/not-raspberry.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"spawn_and_check\n===============\n\n.. image:: https://travis-ci.org/not-raspberry/spawn_and_check.svg?branch=master\n    :target: https://travis-ci.org/not-raspberry/spawn_and_check\n\nProvide some checks, spawn a process and poll it until all checks pass.\nThat way you know when the application really starts working.\n\nExample\n-------\n\n.. code:: Python\n\n    from spawn_and_check import execute, check_http\n    process = execute('run_some_service --port 8000', [check_http('http://127.0.0.1:8000')], timeout=10)\n    # The process is ready at this point.\n\n\nWarning\n-------\n\nThe API has not been stabilised nor defined and it is prone to change. Most probably the checks signature will change\nfrom ``() -\u003e bool`` to ``subprocess.Popen -\u003e bool``.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnot-raspberry%2Fspawn_and_check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnot-raspberry%2Fspawn_and_check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnot-raspberry%2Fspawn_and_check/lists"}