{"id":24995010,"url":"https://github.com/ryzeon-dev/rythreadpool","last_synced_at":"2026-02-19T12:33:17.413Z","repository":{"id":272281740,"uuid":"916036544","full_name":"ryzeon-dev/rythreadpool","owner":"ryzeon-dev","description":"Multi-threading library","archived":false,"fork":false,"pushed_at":"2025-01-13T10:35:57.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-02T16:46:47.818Z","etag":null,"topics":["multithreading","python3","threading"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryzeon-dev.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":"2025-01-13T10:35:42.000Z","updated_at":"2025-11-22T11:07:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"4727c9d1-c04b-4149-8836-35acfb160044","html_url":"https://github.com/ryzeon-dev/rythreadpool","commit_stats":null,"previous_names":["ryzeon-dev/rythreadpool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryzeon-dev/rythreadpool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryzeon-dev%2Frythreadpool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryzeon-dev%2Frythreadpool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryzeon-dev%2Frythreadpool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryzeon-dev%2Frythreadpool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryzeon-dev","download_url":"https://codeload.github.com/ryzeon-dev/rythreadpool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryzeon-dev%2Frythreadpool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29613205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T10:52:55.328Z","status":"ssl_error","status_checked_at":"2026-02-19T10:52:26.323Z","response_time":117,"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":["multithreading","python3","threading"],"created_at":"2025-02-04T15:33:47.227Z","updated_at":"2026-02-19T12:33:17.378Z","avatar_url":"https://github.com/ryzeon-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThreadPool library\n- Multi-threading library \n- Allows to limit the number of threads to a fixed number\n\n## Install\n```\npip install rythreapool\n```\n\n## Usage\n- import the library\n```python\nimport threadpool\n```\n- create a new ThreadPool, giving as argument the number of desidred parallel threads\n  - it is suggested to never exceed the number of physical threads that your processor has\n```python\npool = threadpool.ThreadPool(16)\n```\n- now it is possible to run multiple functions or tasks \n```python\npool.execute(fn=myTask, args=())\n```\n- to check if the threadpool is busy, use the following function\n  - returns `True` if the pool is working, otherwise returns `False`\n```python\npool.isWorking()\n```\n\n### Notes\n1. remember that, if a task implements active waiting, it will keep its thread busy until the end of execution\n2. once reaced the limit of parallel threads, all the following tasks will have to wait for a thread to become free","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryzeon-dev%2Frythreadpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryzeon-dev%2Frythreadpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryzeon-dev%2Frythreadpool/lists"}