py27-greenlet - Lightweight in-process concurrent programming

Property Value
Distribution NetBSD 7.0
Repository NetBSD i386
Package filename py27-greenlet-0.4.15.tgz
Package name py27-greenlet
Package version 0.4.15
Package release -
Package architecture i386
Package type tgz
Category devel python
License mit
Maintainer -
Download size 13.75 KB
Installed size 36.63 KB
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/
Greenlets are provided as a C extension module for the regular unmodified
Greenlets are lightweight coroutines for in-process concurrent programming.


Package Version Architecture Repository
py27-greenlet-0.4.15.tgz 0.4.15 amd64 NetBSD
py27-greenlet - - -


Name Value
python27 >= 2.7.1nb2


Type URL
Binary Package py27-greenlet-0.4.15.tgz
Source Package py27-greenlet

Install Howto

Install py27-greenlet tgz package:

# pkg_add py27-greenlet

See Also

Package Description
py27-gssapi-1.5.1.tgz Low-level and high-level wrappers around GSSAPI C libraries
py27-gstreamer0.10-0.10.22nb4.tgz Python bindings for gstreamer0.10
py27-gstreamer1-1.14.4.tgz Python bindings for gstreamer1
py27-gsutil-4.34.tgz Command line tool for interacting with cloud storage services
py27-gtk2-2.24.0nb26.tgz Python bindings for GTK+2
py27-guessit-3.0.3.tgz Extracts as much information as possible from a video filename
py27-gunicorn-19.9.0.tgz Python WSGI HTTP server
py27-gyp-0.1pre20161117.940a15ee3f1c89f193cb4c19373b3f6e9ad15b95.tgz GYP can Generate Your Projects
py27-h11-0.8.1.tgz Pure-Python, bring-your-own-I/O implementation of HTTP/1.1
py27-h2-3.0.1.tgz HTTP/2 State-Machine based protocol implementation
py27-h5py-2.8.0.tgz Python interface to the HDF5 library
py27-hamcrest-1.9.0.tgz Framework for writing matcher objects
py27-hatop-0.7.7.tgz Interactive client and monitoring tool for HAProxy
py27-hg-evolve-8.4.0nb1.tgz Experimental Mercurial extensions from Facebook
py27-hg-fastimport-20170211nb1.tgz Mercurial extension for importing from a git fast-import stream