Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!

Python framework for concurrent, distributed, asynchronous network programming with coroutines, asynchronous completions and message passing.

Project Description

asyncoro is a Python framework for concurrent, distributed, asynchronous network programming.

Unlike with other asynchronous frameworks, programs developed with asyncoro have same logic and structure as programs with threads, except for a few syntactic changes - mostly using yield with asynchronous completions that give control to asyncoro’s scheduler, which interleaves executions of coroutines, similar to the way an operating system executes multiple processes. In addition, asyncoro has many additional features, including message passing for communication, distributed computing/programming etc.

Unlike threads, creating processes (coroutines) with asyncoro is very efficient. Moreover, with asyncoro context switch occurs only when coroutines use yield (typically with an asychronous call), so there is no need for locking and there is no overhead of unnecessary context switches.

asyncoro works with Python versions 2.7+ and 3.1+. It has been tested with Linux, Mac OS X and Windows; it may work on other platforms, too.


  • No callbacks or event loops! No need to lock critical sections either,
  • Efficient polling mechanisms epoll, kqueue, /dev/poll, Windows I/O Completion Ports (IOCP) for high performance and scalability,
  • Asynchronous (non-blocking) sockets and pipes, for concurrent processing of I/O,
  • SSL for security,
  • Asynchronous timers, including non-blocking sleep,
  • Asynchronous locking primitives similar to Python threading module,
  • Message passing for (local and remote) coroutines to exchange messages one-to-one with Message Queue Pattern or through broadcasting channels with Publish-Subscribe Pattern,
  • Location transparency with naming and locating (local and remote) resources,
  • Remote execution of coroutines for distributed/parallel programming with Remote Coroutine Invocation and message passing,
  • Monitoring and restarting of (local or remote) coroutines, for fault detection and fault-tolerance,
  • Hot-swapping of coroutine functions, for dynamic system reconfiguration,
  • Distributing computation fragments for remote execution of coroutines,
  • Thread pools with asynchronous task completions, for executing time consuming synchronous tasks,


To install asyncoro for Python 2.7+, run:

pip install asyncoro

or to install asyncoro for Python 3.1+, run:

pip3 install asyncoro


asyncoro is implemented with standard modules in Python. Under Windows efficient polling notifier I/O Completion Ports (IOCP) is supported only if pywin32 is installed; otherwise, inefficient select notifier is used.


  • Giridhar Pemmasani

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(184.3 kB) Copy SHA256 Hash SHA256
Source None Apr 20, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting