Metadata-Version: 2.1
Name: slp-coroutine
Version: 0.0.2
Summary: Convert plain old functions to coroutines and vice versa
Home-page: https://github.com/akruis/slp_coroutine
Author: Anselm Kruis
Author-email: anselm@kruis.de
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/akruis/slp_coroutine/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: Implementation :: Stackless
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
Classifier: Operating System :: OS Independent
Classifier: Framework :: AsyncIO
Requires-Python: >=3.7.6
Description-Content-Type: text/markdown
License-File: LICENSE

# slp_coroutine - Use Plain Old Functions as Coroutines

Using Stackless Python tasklets it is possible to decorate any plain old
Python callable as a C-Python coroutine, that can be used with the
asyncio framework. It is also possible to "async" call a coroutine
from a callable decorated as coroutine.

This Python module all sort of utility functions to

 * create a coroutine from a callable
 * call a coroutine from a callable
 * create an asynchronous generator/iterator form a normal generator/iterator
 * create a normal generator/iterator form an asynchronous normal generator/iterator
 * create an asynchronous context manager from a normal context manager
 * create a normal context manager from an asynchronous context manager
 
This code requires Stackless Python 3.7.6 or any later version.

Documentation: https://slp-coroutine.readthedocs.io/

Bug Tracker: https://github.com/akruis/slp_coroutine/issues

## Changelog

 * 0.0.1: Initial release
 * 0.0.2: Add the documentation to the source archive



