{"id":30240449,"url":"https://github.com/hypothesis/dummy-h-periodic","last_synced_at":"2025-08-15T04:38:57.475Z","repository":{"id":43744191,"uuid":"403594200","full_name":"hypothesis/dummy-h-periodic","owner":"hypothesis","description":"A mock of the h-periodic repo","archived":false,"fork":false,"pushed_at":"2023-05-01T08:03:53.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2023-05-01T09:49:32.245Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hypothesis.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2021-09-06T11:19:28.000Z","updated_at":"2023-05-01T09:49:32.246Z","dependencies_parsed_at":"2023-01-25T13:16:34.612Z","dependency_job_id":null,"html_url":"https://github.com/hypothesis/dummy-h-periodic","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/hypothesis/dummy-h-periodic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Fdummy-h-periodic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Fdummy-h-periodic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Fdummy-h-periodic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Fdummy-h-periodic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hypothesis","download_url":"https://codeload.github.com/hypothesis/dummy-h-periodic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hypothesis%2Fdummy-h-periodic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270524456,"owners_count":24600195,"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-08-15T02:00:12.559Z","response_time":110,"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":"2025-08-15T04:38:42.849Z","updated_at":"2025-08-15T04:38:57.467Z","avatar_url":"https://github.com/hypothesis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Periodic tasks\n==============\n\n`h-periodic` runs [Celery beat](https://docs.celeryproject.org/en/stable/userguide/periodic-tasks.html)\nprocesses that schedule periodic tasks for `h` and `checkmate`'s Celery workers\nto execute.\n\n## Installing h-periodic in a development environment\n\n### You will need\n\n* h-periodic connects to the RabbitMQ processes that `h` and `checkmate`'s\n`make services` commands run, so you'll need to install and run them first:\n\n  * https://h.readthedocs.io/en/latest/developing/install/\n  * https://github.com/hypothesis/checkmate\n\n* [Git](https://git-scm.com/)\n\n* [pyenv](https://github.com/pyenv/pyenv)\n  Follow the instructions in the pyenv README to install it.\n  The Homebrew method works best on macOS.\n\n### Clone the Git repo\n\n    git clone https://github.com/hypothesis/h-periodic.git\n\nThis will download the code into an `h-periodic` directory in your current\nworking directory. You need to be in the `h-periodic` directory from the\nremainder of the installation process:\n\n    cd h-periodic\n\n### Start the development server\n\n    make dev\n\nThe first time you run `make dev` it might take a while to start because it'll\nneed to install the dependencies.\n\nThis will start the Celery beat processes, which periodically add tasks\nto `h`'s and `checkmate`'s task queues.\n\n**That's it!** You’ve finished setting up your h-periodic development\nenvironment. Run `make help` to see all the commands that're available for\nlinting, code formatting, etc.\n\n### Configuration\n\n| Environment variable | Usage | Example |\n|----------------------|-------|---------|\n| `H_BROKER_URL`         | The `h` AMPQ broker | `amqp://user:password@rabbit.example.com:5672//` |\n| `CHECKMATE_BROKER_URL` | The `checkmate` AMPQ broker | `amqp://user:password@rabbit.example.com:5673//` |\n| `DISABLE_H_BEAT` | Whether to disable the `h_beat` process | `true` to disable the `h_beat` process, `false` to leave it enabled. Defaults to `false` (leave it enabled) |\n\nNew line to trigger deployment\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypothesis%2Fdummy-h-periodic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhypothesis%2Fdummy-h-periodic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhypothesis%2Fdummy-h-periodic/lists"}