Skip to main content

asyncoro

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.

Features

  • 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,

Installation

To install asyncoro for Python 2.7+, run:

pip install asyncoro

or to install asyncoro for Python 3.1+, run:

pip3 install asyncoro

Dependencies

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.

Authors

  • Giridhar Pemmasani

Release files for asyncoro 3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asyncoro 3.2
File Size Uploaded
asyncoro-3.2.tar.gz 184.3 kB Details

Release files / asyncoro-3.2.tar.gz

Download URL asyncoro-3.2.tar.gz
Size 184.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e3210c9c8bca360f79bf9446cd6852f86a343116597f32aef82f4c815a4f8b36
BLAKE2b-256 checksum
How to use checksums
923abad7c2486ef99202009703e6d2458b74aaeca81743d03fab6718fe884afc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

4.5.6

1 release file

4.5.5

1 release file

4.5.4

1 release file

4.5.3

1 release file

4.5.2

1 release file

4.5.1

1 release file

4.5.0

1 release file

4.4.1

1 release file

4.4.0

1 release file

4.3.4

1 release file

4.3.3

1 release file

4.3.2

1 release file

4.3.1

1 release file

4.3.0

1 release file

4.2.2

1 release file

4.2.1

1 release file

4.2.0

1 release file

4.1.1

1 release file

4.1

1 release file

4.0

1 release file

3.6.16

1 release file

3.6.15

1 release file

3.6.14

1 release file

3.6.13

1 release file

3.6.12

1 release file

3.6.11

1 release file

3.6.10

1 release file

3.6.9

1 release file

3.6.8

1 release file

3.6.7

1 release file

3.6.6

1 release file

3.6.5

1 release file

3.6.4

1 release file

3.6.3

1 release file

3.6.2

1 release file

3.6.1

1 release file

3.6.0

1 release file

3.5

1 release file

3.4.1

1 release file

3.4

1 release file

3.3.2

1 release file

3.3.1

1 release file

3.3

1 release file

This release

3.2 This release

1 release file

3.1

2 release files

3.0.3

1 release file

3.0.2

1 release file

3.0.1

1 release file

3.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page