{"id":34090529,"url":"https://github.com/seedofjoy/darq","last_synced_at":"2026-04-05T01:31:57.348Z","repository":{"id":37951405,"uuid":"241730313","full_name":"seedofjoy/darq","owner":"seedofjoy","description":"Async task manager with Celery-like features. Fork of arq.","archived":false,"fork":false,"pushed_at":"2024-12-02T19:56:19.000Z","size":355,"stargazers_count":48,"open_issues_count":4,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-08T02:28:41.851Z","etag":null,"topics":["asyncio","python","python3","redis","task-manager","task-runner","task-scheduler"],"latest_commit_sha":null,"homepage":"http://darq.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seedofjoy.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"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":"2020-02-19T21:29:17.000Z","updated_at":"2024-07-19T19:17:18.000Z","dependencies_parsed_at":"2023-09-26T01:46:14.037Z","dependency_job_id":"f9f990cc-9c2f-4277-b744-362e43ad682e","html_url":"https://github.com/seedofjoy/darq","commit_stats":{"total_commits":347,"total_committers":16,"mean_commits":21.6875,"dds":0.5331412103746398,"last_synced_commit":"2998b820c8ed613e28b75f57673f83f9781f6eab"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/seedofjoy/darq","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seedofjoy%2Fdarq","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seedofjoy%2Fdarq/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seedofjoy%2Fdarq/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seedofjoy%2Fdarq/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seedofjoy","download_url":"https://codeload.github.com/seedofjoy/darq/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seedofjoy%2Fdarq/sbom","scorecard":{"id":809460,"data":{"date":"2025-08-11","repo":{"name":"github.com/seedofjoy/darq","commit":"41f47b1943ffde6823549a4d848181ed67c03fa4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"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":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","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":1,"reason":"Found 3/25 approved changesets -- score normalized to 1","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1","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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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":"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/publish.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/seedofjoy/darq/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/seedofjoy/darq/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/seedofjoy/darq/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/seedofjoy/darq/tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/seedofjoy/darq/tests.yml/master?enable=pin","Warn: containerImage not pinned by hash: examples/aiohttp/Dockerfile:1: pin your Docker image by updating python:3.9 to python:3.9@sha256:b93ed1cb6815be1d99908ab629d49680be28024c4183611ded45c425ecf7b907","Warn: pipCommand not pinned by hash: examples/aiohttp/Dockerfile:4","Warn: pipCommand not pinned by hash: .github/workflows/publish.yml:20","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:40","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:41","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:42","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:43","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:53","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   7 pipCommand 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":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2021-76 / GHSA-v6wp-4m6f-gcjg","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j"],"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 25 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-23T12:43:30.529Z","repository_id":37951405,"created_at":"2025-08-23T12:43:30.529Z","updated_at":"2025-08-23T12:43:30.529Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31421869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T00:25:07.052Z","status":"ssl_error","status_checked_at":"2026-04-05T00:25:05.923Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["asyncio","python","python3","redis","task-manager","task-runner","task-scheduler"],"created_at":"2025-12-14T14:21:16.549Z","updated_at":"2026-04-05T01:31:57.341Z","avatar_url":"https://github.com/seedofjoy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"darq\n====\n\n[ ~ Dependencies scanned by PyUp.io ~ ]\n\n.. image:: https://github.com/seedofjoy/darq/workflows/Lint%20\u0026%20test/badge.svg?branch=master\n   :target: https://github.com/seedofjoy/darq/actions\n\n.. image:: https://codecov.io/gh/seedofjoy/darq/branch/master/graph/badge.svg\n  :target: https://codecov.io/gh/seedofjoy/darq\n\n|\n\nAsync task manager with Celery-like features. Fork of `arq \u003chttp://github.com/samuelcolvin/arq\u003e`_.\n\n\nFeatures\n--------\n* Celery-like ``@task`` decorator, adds ``.delay()`` to enqueue job\n* Proper ``mypy`` type checking: all arguments passed to ``.delay()`` will be checked against the original function signature\n* Graceful shutdown: waits until running tasks are finished\n\n\nInstallation\n------------\nDarq uses ``aioredis`` 1.x as Redis client. Unfortunately, this library has been abandoned, and does not support Python 3.11. I made a fork with compatability fixes: ``evo-aioredis`` (https://github.com/evo-company/aioredis-py).\n\nBecause of this, ``aioredis`` is not currently added as Darq dependency, and you must install it yourself:\n\nFor Python\u003c3.11 you can use:\n\n.. code:: shell\n\n   pip install aioredis\u003c2.0.0\n\nFor Python 3.11 (and older versions too) you can use fork:\n\n.. code:: shell\n\n   pip install evo-aioredis\u003c2.0.0\n\n\nQuick start\n-----------\n\n.. code:: python\n\n    # some_project/darq_app.py\n    import asyncio\n    import darq\n\n    darq = darq.Darq(redis_settings=darq.RedisSettings(host='redis'))\n\n\n    @darq.task\n    async def add_to_42(a: int) -\u003e int:\n        return 42 + a\n\n\n    async def main():\n        # Before adding tasks to queue we should connect darq instance to redis\n        await darq.connect()\n\n        # Direct call job as function:\n        result = await add_to_42(5)  # result == 47\n\n        # Celery-like add task to queue:\n        await add_to_42.delay(a=5)\n\n        await darq.disconnect()\n\n\n    if __name__ == '__main__':\n        asyncio.run(main())\n\n\nAnd start worker:\n\n.. code:: shell\n\n    python3 -m darq.cli -A some_project.darq_app.darq worker\n\n\nWorker output:\n\n.. code:: shell\n\n    15:24:42: Starting worker for 1 functions: some_project.darq_app.add_to_42\n    15:24:42: redis_version=5.0.7 mem_usage=834.87K clients_connected=1 db_keys=2\n    15:25:08:   0.22s → 1315f27608e9408392bf5d3310bca38c:darq_app.add_to_42(a=5)\n    15:25:08:   0.00s ← 1315f27608e9408392bf5d3310bca38c:darq_app.add_to_42 ● 47\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseedofjoy%2Fdarq","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseedofjoy%2Fdarq","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseedofjoy%2Fdarq/lists"}