Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install greenlet

How to install greenlet

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install greenlet
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.4.1 Available View build log
0.4.0 Available View build log
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.3.1 Available View build log
0.2 Available View build log
0.3.4
0.4.1Never BuiltWhy not?
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.3.1 Failed View build log
0.2 Failed View build log
Windows (64-bit)
0.4.1 Available View build log
0.4.0 Available View build log
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Failed View build log
0.3.1 Failed View build log
0.2 Failed View build log
0.3.4
0.4.1Never BuiltWhy not?
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Failed View build log
0.3.1 Failed View build log
0.2 Failed View build log
Mac OS X (10.5+)
0.4.1 Available View build log
0.4.0 Available View build log
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.3.1 Available View build log
0.2 Available View build log
0.4.0
0.4.1Never BuiltWhy not?
0.4.0 Available View build log
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.3.1 Available View build log
0.2 Failed View build log
Linux (32-bit)
0.4.1 Available View build log
0.4.0 Available View build log
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.3.1 Available View build log
0.2 Available View build log
0.4.0
0.4.1Never BuiltWhy not?
0.4.0 Available View build log
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.3.1 Available View build log
0.2 Failed View build log
Linux (64-bit)
0.4.1 Available View build log
0.4.0 Available View build log
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.3.1 Available View build log
0.2 Available View build log
0.4.0
0.4.1Never BuiltWhy not?
0.4.0 Available View build log
0.3.4 Available View build log
0.3.3 Available View build log
0.3.2 Available View build log
0.3.1 Available View build log
0.2 Failed View build log
0.4.1 Available View build log
0.4.0 Available View build log
0.2 Failed View build log
 
Author
License
MIT License
Imports
Lastest release
version 0.4.1 on Jun 9th, 2013

The greenlet package is a spin-off of Stackless, a version of CPython that supports micro-threads called "tasklets". Tasklets run pseudo-concurrently (typically in a single or a few OS-level threads) and are synchronized with data exchanges on "channels".

A "greenlet", on the other hand, is a still more primitive notion of micro-thread with no implicit scheduling; coroutines, in other words. This is useful when you want to control exactly when your code runs. You can build custom scheduled micro-threads on top of greenlet; however, it seems that greenlets are useful on their own as a way to make advanced control flow structures. For example, we can recreate generators; the difference with Python's own generators is that our generators can call nested functions and the nested functions can yield values too. Additionally, you don't need a "yield" keyword. See the example in tests/test_generator.py.

Greenlets are provided as a C extension module for the regular unmodified interpreter.

Greenlets are lightweight coroutines for in-process concurrent programming.

Who is using Greenlet?

There are several libraries that use Greenlet as a more flexible alternative to Python's built in coroutine support:

Getting Greenlet

The easiest way to get Greenlet is to install it with pip or easy_install:

pip install greenlet
easy_install greenlet

Source code archives and windows installers are available on the python package index at http://pypi.python.org/pypi/greenlet

The source code repository is hosted on github: https://github.com/python-greenlet/greenlet

The master branch - i.e. the development version - can be installed directly by running one of the following:

pip install greenlet==dev
easy_install greenlet==dev

Subscribe to package updates

Last updated Jun 9th, 2013

Download Stats

Last month:13

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.