{"id":22730066,"url":"https://github.com/simonrob/pyasyncore","last_synced_at":"2025-07-06T14:36:36.951Z","repository":{"id":41243853,"uuid":"508825635","full_name":"simonrob/pyasyncore","owner":"simonrob","description":"Make asyncore available for Python 3.12 onwards","archived":false,"fork":false,"pushed_at":"2024-02-28T08:48:55.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T13:22:37.472Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonrob.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}},"created_at":"2022-06-29T19:45:23.000Z","updated_at":"2025-02-22T12:21:56.000Z","dependencies_parsed_at":"2024-01-22T22:11:37.727Z","dependency_job_id":"b077227f-1d49-4ab3-a25c-5a608c44ed6b","html_url":"https://github.com/simonrob/pyasyncore","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrob%2Fpyasyncore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrob%2Fpyasyncore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrob%2Fpyasyncore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrob%2Fpyasyncore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonrob","download_url":"https://codeload.github.com/simonrob/pyasyncore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537003,"owners_count":21120687,"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-12-10T18:13:19.945Z","updated_at":"2025-04-13T23:14:22.493Z","avatar_url":"https://github.com/simonrob.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n\n# Purpose\nThis package contains the [asyncore](https://docs.python.org/3.11/library/asyncore.html) module as found in Python versions prior to 3.12.\nIt is provided so that existing code relying on `import asyncore` is able to continue being used without significant refactoring.\n\nThe module's source code is taken directly from the [Python standard library](https://github.com/python/cpython/blob/c4d45ee670c09d4f6da709df072ec80cb7dfad22/Lib/asyncore.py)\u003csup id=\"a1\"\u003e[[1]](#f1)\u003c/sup\u003e.\nThe [specific version of asyncore that is provided](https://github.com/simonrob/pyasyncore/blob/master/asyncore/__init__.py) is the last update before the addition of deprecation/removal warnings at import time, and is essentially equivalent to [the version bundled with Python 3.9](https://github.com/python/cpython/blob/3.9/Lib/asyncore.py) (which was the last time the module was meaningfully updated).\n\nPlease note that new projects should prefer [asyncio](https://docs.python.org/3/library/asyncio.html).\n\n\n## Installation\nThis version of `asyncore` is intended for Python 3.12 or later. Install the module using `pip`:\n```shell\npython -m pip install pyasyncore\n```\n\nThe module can be installed for earlier Python versions, but it will have no effect, and the standard library version of `asyncore` will be used in its place.\n\nNote that installing `pyasyncore` will not remove deprecation warnings in Python versions 3.10 and 3.11.\nInstead, use the `warnings` package:\n```python\nimport warnings\nwith warnings.catch_warnings():\n    warnings.simplefilter('ignore', DeprecationWarning)\n    import asyncore\n```\n\n\n## Usage\nThe module is imported in exactly the same way as the standard library component it replaces:\n```python\nimport asyncore\n```\n\nNote that the [PyPI module](https://pypi.org/project/pyasyncore/) is named `pyasyncore` because creating modules with the same name as those provided by the standard library is not permitted.\n\nFor guidance about using the `asyncore` module, see the [official documentation](https://docs.python.org/3.11/library/asyncore.html).\n\n\n## Testing\nThe [previous standard library tests](https://github.com/python/cpython/blob/3.11/Lib/test/test_asyncore.py) have also been replicated into this module.\nRun them using:\n```shell\npython -m unittest\n```\n\n\n## Maintenance\nDue to the fact that this previously built-in module is [no-longer supported](https://peps.python.org/pep-0594/) by the Python core development team, no further maintenance of the [asyncore code](https://github.com/simonrob/pyasyncore/blob/master/asyncore/__init__.py) is intended.\nThis project is only intended to be updated to make changes or improvements to the module packaging.\n\n\n## License\n[Python Software Foundation License Version 2](LICENSE)\n\n\n### Footnotes\n\u003csub id=\"f1\"\u003e1. Verify this if needed via: `diff \u003c(curl --location https://github.com/python/cpython/raw/c4d45ee670c09d4f6da709df072ec80cb7dfad22/Lib/asyncore.py) \u003c(curl --location https://github.com/simonrob/pyasyncore/raw/master/asyncore/__init__.py)` [⏎](#a1)\u003c/sub\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonrob%2Fpyasyncore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonrob%2Fpyasyncore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonrob%2Fpyasyncore/lists"}