Metadata-Version: 2.1
Name: pyasynchat
Version: 1.0.2
Summary: Make asynchat available for Python 3.12 onwards
Home-page: https://github.com/simonrob/pyasynchat
Author: Simon Robinson
Author-email: simon@robinson.ac
License: Python Software Foundation License Version 2
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: Python Software Foundation License
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyasyncore

[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)

# Purpose
This package contains the [asynchat](https://docs.python.org/3/library/asynchat.html) module as found in Python versions prior to 3.12.
It is provided so that existing code relying on `import asynchat` is able to continue being used without significant refactoring.

The module's source code is taken directly from the [Python standard library](https://github.com/python/cpython/blob/3.9/Lib/asynchat.py).
The specific version of [`asynchat.py`](asynchat/asynchat.py) used is the last update before the addition of removal warnings at import time, and is identical to [the version provided with Python 3.9](https://github.com/python/cpython/blob/3.9/Lib/asynchat.py).

Please note that new projects should prefer [asyncio](https://docs.python.org/3/library/asyncio.html).


## Installation and usage
This version of asynchat is intended for Python 3.12 or later.
It can be installed for earlier Python versions, but will have no effect, and the standard library version of asynchat will be used in its place.

Install the module using `pip`:
```shell
python -m pip install pyasynchat
```

Note that the [PyPi module](https://pypi.org/project/pyasynchat/) is named `pyasynchat` because creating modules with the same name as those provided by the standard library is not permitted.
Usage is still via `import asynchat`.

For guidance about using this module, see the [official documentation](https://docs.python.org/3/library/asynchat.html).


## Maintenance
Due to the fact that this module is [no-longer supported](https://peps.python.org/pep-0594/), no further maintenance of the code in [`asynchat.py`](asynchat/asynchat.py) is intended.
This project is only intended to be updated to make changes or improvements to the module packaging.


## License
[Python Software Foundation License Version 2](LICENSE)
