Skip to main content

Port of the Tulip project (asyncio module, PEP 3156) on Python 2

Project description

No Maintenance Intended

Trollius provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives. Here is a more detailed list of the package contents:

  • a pluggable event loop with various system-specific implementations;

  • transport and protocol abstractions (similar to those in Twisted);

  • concrete support for TCP, UDP, SSL, subprocess pipes, delayed calls, and others (some may be system-dependent);

  • a Future class that mimics the one in the concurrent.futures module, but adapted for use with the event loop;

  • coroutines and tasks based on generators (yield), to help write concurrent code in a sequential fashion;

  • cancellation support for Futures and coroutines;

  • synchronization primitives for use between coroutines in a single thread, mimicking those in the threading module;

  • an interface for passing work off to a threadpool, for times when you absolutely, positively have to use a library that makes blocking I/O calls.

Trollius is a portage of the asyncio project (PEP 3156) on Python 2. Trollius works on Python 2.6-3.5. It has been tested on Windows, Linux, Mac OS X, FreeBSD and OpenIndiana.

See also the asyncio project at Github.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

trollius-2.2-pp272-none-any.whl (122.8 kB view details)

Uploaded PyPy

trollius-2.2-pp271-none-any.whl (118.2 kB view details)

Uploaded PyPy

trollius-2.2-pp260-none-any.whl (122.8 kB view details)

Uploaded PyPy

trollius-2.2-cp27-none-any.whl (118.2 kB view details)

Uploaded CPython 2.7

File details

Details for the file trollius-2.2-pp272-none-any.whl.

File metadata

  • Download URL: trollius-2.2-pp272-none-any.whl
  • Upload date:
  • Size: 122.8 kB
  • Tags: PyPy
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4

File hashes

Hashes for trollius-2.2-pp272-none-any.whl
Algorithm Hash digest
SHA256 ef7c403d94f8db8697ec7d6ff8eb637efeb3a9eb18ca4112b3d2a3189608c32c
MD5 c5329e25667f4c704c8217bc483f6fd0
BLAKE2b-256 3bdd8ad20df765e04e47e3db64f8477386a8ac90806db47cb84c3e28bc5ccf55

See more details on using hashes here.

File details

Details for the file trollius-2.2-pp271-none-any.whl.

File metadata

  • Download URL: trollius-2.2-pp271-none-any.whl
  • Upload date:
  • Size: 118.2 kB
  • Tags: PyPy
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4

File hashes

Hashes for trollius-2.2-pp271-none-any.whl
Algorithm Hash digest
SHA256 8e9134fe06336ef01ee6ca6260cf06e03bc379995bc34b043721e084c9612680
MD5 625421502f308f83f955074e93260ed8
BLAKE2b-256 ae7227034453a278384adab321bfd78803bdc33823d2f9a4c155f1553cc12f88

See more details on using hashes here.

File details

Details for the file trollius-2.2-pp260-none-any.whl.

File metadata

  • Download URL: trollius-2.2-pp260-none-any.whl
  • Upload date:
  • Size: 122.8 kB
  • Tags: PyPy
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4

File hashes

Hashes for trollius-2.2-pp260-none-any.whl
Algorithm Hash digest
SHA256 61423039690b23bbdeb1accb6e972c2687ef1443c7ad2f2190e43f2046fcba3c
MD5 d1d89228cab04e9dd09eebb32749e23f
BLAKE2b-256 fcb8083cf41260866ac6f59f28efcefaca297c39c60f9e8a4c233f81491b56eb

See more details on using hashes here.

File details

Details for the file trollius-2.2-cp27-none-any.whl.

File metadata

  • Download URL: trollius-2.2-cp27-none-any.whl
  • Upload date:
  • Size: 118.2 kB
  • Tags: CPython 2.7
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.4

File hashes

Hashes for trollius-2.2-cp27-none-any.whl
Algorithm Hash digest
SHA256 f73b1b98c6263c289d3a0529e9c2cec54a22d117b4b92140909285578c42b5bb
MD5 708ade3dff4ed26cd02fa946027bcb45
BLAKE2b-256 89675e4289c960e2ed9f1fabd3947190c311e9c1096311463e7fcfa2ebd54946

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page