py34-greenlet-0.4.15.tgz


Advertisement

Description

py34-greenlet - Lightweight in-process concurrent programming

Property Value
Distribution NetBSD 7.0
Repository NetBSD i386
Package filename py34-greenlet-0.4.15.tgz
Package name py34-greenlet
Package version 0.4.15
Package release -
Package architecture i386
Package type tgz
Category devel python
Homepage https://github.com/python-greenlet/greenlet
License mit
Maintainer -
Download size 14.31 KB
Installed size 36.81 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/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.

Alternatives

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

Requires

Name Value
python34 >= 3.4

Download

Type URL
Mirror ftp.netbsd.org
Binary Package py34-greenlet-0.4.15.tgz
Source Package py34-greenlet

Install Howto

Install py34-greenlet tgz package:

# pkg_add py34-greenlet

See Also

Package Description
py34-hamcrest-1.9.0.tgz Framework for writing matcher objects
py34-hglib-2.4.tgz Python library for interfacing with mercurial's CommandServer
py34-html-docs-3.4.9.tgz HTML Documentation for Python 3.4
py34-hyperlink-18.0.0nb1.tgz Featureful, correct URL for Python
py34-idna-2.8.tgz Python module for Internationalized Domain Names in Applications (IDNA)
py34-imagesize-1.1.0.tgz Parses image files' header and returns image size
py34-incremental-17.5.0.tgz Small library that versions your Python projects
py34-iowait-0.2.tgz Platform-independent module for I/O completion events
py34-ipython_genutils-0.2.0nb1.tgz Vestigial utilities from IPython
py34-itsdangerous-1.1.0.tgz Helpers to pass trusted data to untrusted environments and back
py34-jinja2-2.10.tgz Small but fast and easy to use stand-alone template engine
py34-joblib-0.13.2.tgz Set of tools to provide lightweight pipelining
py34-jsonlib-1.6.1.tgz JSON serializer/deserializer for Python (python-3.x version)
py34-keystone-0.9.1.tgz Python bindings for keystone
py34-kiwisolver-1.0.1.tgz Fast implementation of the Cassowary constraint solver
Advertisement
Advertisement