{"id":19577173,"url":"https://github.com/asyncgui/asyncgui-ext-synctools","last_synced_at":"2026-01-18T18:33:02.758Z","repository":{"id":245429040,"uuid":"818209620","full_name":"asyncgui/asyncgui-ext-synctools","owner":"asyncgui","description":"Inter-task sychronization and communication.","archived":false,"fork":false,"pushed_at":"2024-09-16T01:54:57.000Z","size":452,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-17T01:45:07.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://asyncgui.github.io/asyncgui-ext-synctools/","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/asyncgui.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":"2024-06-21T10:36:50.000Z","updated_at":"2024-09-15T23:57:13.000Z","dependencies_parsed_at":"2024-06-22T04:11:27.978Z","dependency_job_id":"b4f8a9a8-1361-4ef1-af82-d13b3c83ab78","html_url":"https://github.com/asyncgui/asyncgui-ext-synctools","commit_stats":null,"previous_names":["asyncgui/asyncgui-ext-synctools"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncgui%2Fasyncgui-ext-synctools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncgui%2Fasyncgui-ext-synctools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncgui%2Fasyncgui-ext-synctools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyncgui%2Fasyncgui-ext-synctools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asyncgui","download_url":"https://codeload.github.com/asyncgui/asyncgui-ext-synctools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224062795,"owners_count":17249291,"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":[],"created_at":"2024-11-11T07:04:51.787Z","updated_at":"2026-01-18T18:33:02.750Z","avatar_url":"https://github.com/asyncgui.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Queue\n\nAn `asyncio.Queue` equivalent for asyncgui.\n\n```python\nimport asyncgui as ag\nfrom asyncgui_ext.queue import Queue\n\nasync def producer(q):\n    for c in \"ABC\":\n        await q.put(c)\n        print('produced', c)\n\nasync def consumer(q):\n    async for c in q:\n        print('consumed', c)\n\nq = Queue(capacity=1)\nag.start(producer(q))\nag.start(consumer(q))\n```\n\n```\nproduced A\nproduced B\nconsumed A\nproduced C\nconsumed B\nconsumed C\n```\n\n## Installation\n\nPin the minor version.\n\n```\npoetry add asyncgui-ext-queue@~0.3\npip install \"asyncgui-ext-queue\u003e=0.3,\u003c0.4\"\n```\n\n## Tested on\n\n- CPython 3.10\n- CPython 3.11\n- CPython 3.12\n- CPython 3.13\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyncgui%2Fasyncgui-ext-synctools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasyncgui%2Fasyncgui-ext-synctools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyncgui%2Fasyncgui-ext-synctools/lists"}