{"id":13908206,"url":"https://github.com/testdrivenio/simple-task-queue","last_synced_at":"2025-07-18T07:30:38.241Z","repository":{"id":32182745,"uuid":"127353575","full_name":"testdrivenio/simple-task-queue","owner":"testdrivenio","description":"asynchronous task queues using python's multiprocessing library","archived":false,"fork":false,"pushed_at":"2024-08-20T16:36:08.000Z","size":821,"stargazers_count":66,"open_issues_count":1,"forks_count":35,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-11-25T17:45:57.007Z","etag":null,"topics":["multiprocessing","python","redis","task-queue"],"latest_commit_sha":null,"homepage":"","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/testdrivenio.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-29T22:24:16.000Z","updated_at":"2024-10-29T15:31:15.000Z","dependencies_parsed_at":"2024-11-25T17:32:50.232Z","dependency_job_id":"6a31ef19-f023-4f74-a9c9-804b244b6199","html_url":"https://github.com/testdrivenio/simple-task-queue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/testdrivenio/simple-task-queue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testdrivenio%2Fsimple-task-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testdrivenio%2Fsimple-task-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testdrivenio%2Fsimple-task-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testdrivenio%2Fsimple-task-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testdrivenio","download_url":"https://codeload.github.com/testdrivenio/simple-task-queue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testdrivenio%2Fsimple-task-queue/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265720350,"owners_count":23817214,"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":["multiprocessing","python","redis","task-queue"],"created_at":"2024-08-06T23:02:32.956Z","updated_at":"2025-07-18T07:30:37.730Z","avatar_url":"https://github.com/testdrivenio.png","language":"Python","readme":"# Asynchronous Task Queues in Python\n\nSeveral implementations of asynchronous task queues in Python using the multiprocessing library and Redis.\n\n\u003e Blog post: [Developing an Asynchronous Task Queue in Python](http://testdriven.io/developing-an-asynchronous-task-queue-in-python)\n\n## Setup\n\n1. Fork/Clone\n\n1. Create and activate a virtual environment\n\n1. Install the dependencies\n\n1. Enter the Python shell and download the NLTK `stopwords` [corpus](https://www.nltk.org/data.html):\n\n    ```sh\n    \u003e\u003e import nltk\n    \u003e\u003e nltk.download('stopwords')\n\n      [nltk_data] Downloading package stopwords to\n      [nltk_data]     /Users/michael.herman/nltk_data...\n      [nltk_data]   Unzipping corpora/stopwords.zip.\n      True\n    ```\n\n## Examples\n\nMultiprocessing Pool:\n\n```sh\n$ python simple_pool.py\n```\n\nMultiprocessing Queue:\n\n```sh\n$ python simple_queue.py\n$ python simple_task_queue.py\n```\n\nLogging to a single file:\n\n```sh\n$ python simple_task_queue_logging.py\n```\n\nLogging to separate files:\n\n```sh\n$ python simple_task_queue_logging_separate_files.py\n```\n\nRedis:\n\n```sh\n$ python redis_queue.py\n```\n","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestdrivenio%2Fsimple-task-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestdrivenio%2Fsimple-task-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestdrivenio%2Fsimple-task-queue/lists"}