Skip to main content
https://secure.travis-ci.org/python-greenlet/greenlet.png

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 https://pypi.python.org/pypi/greenlet

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

Documentation is available on readthedocs.org: https://greenlet.readthedocs.io

Release files for greenlet 0.4.10

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

Source distributions (sdists)

Source distribution for greenlet 0.4.10
File Size Uploaded
greenlet-0.4.10.zip 82.6 kB Details
greenlet-0.4.10.tar.gz 57.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for greenlet 0.4.10
File
greenlet-0.4.10-py3.5-win-amd64.egg Legacy Egg format - - Details
greenlet-0.4.10-py3.5-win32.egg Legacy Egg format - - Details
greenlet-0.4.10-py3.4-win-amd64.egg Legacy Egg format - - Details
greenlet-0.4.10-py3.4-win32.egg Legacy Egg format - - Details
greenlet-0.4.10-py3.3-win-amd64.egg Legacy Egg format - - Details
greenlet-0.4.10-py3.3-win32.egg Legacy Egg format - - Details
greenlet-0.4.10-py2.7-win-amd64.egg Legacy Egg format - - Details
greenlet-0.4.10-py2.7-win32.egg Legacy Egg format - - Details
greenlet-0.4.10-py2.6-win-amd64.egg Legacy Egg format - - Details
greenlet-0.4.10-py2.6-win32.egg Legacy Egg format - - Details
greenlet-0.4.10-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
greenlet-0.4.10-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
greenlet-0.4.10-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details
greenlet-0.4.10-cp34-cp34m-win_amd64.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-64 Details
greenlet-0.4.10-cp34-cp34m-win32.whl CPython 3.4 CPython 3.4 pymalloc Windows x86-32 Details
greenlet-0.4.10-cp34-cp34m-manylinux1_x86_64.whl CPython 3.4 CPython 3.4 pymalloc Linux glibc 2.5+ x86-64 Details
greenlet-0.4.10-cp33-cp33m-win_amd64.whl CPython 3.3 CPython 3.3 pymalloc Windows x86-64 Details
greenlet-0.4.10-cp33-cp33m-win32.whl CPython 3.3 CPython 3.3 pymalloc Windows x86-32 Details
greenlet-0.4.10-cp33-cp33m-manylinux1_x86_64.whl CPython 3.3 CPython 3.3 pymalloc Linux glibc 2.5+ x86-64 Details
greenlet-0.4.10-cp27-cp27mu-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
greenlet-0.4.10-cp27-cp27m-win_amd64.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-64 Details
greenlet-0.4.10-cp27-cp27m-win32.whl CPython 2.7 CPython 2.7 pymalloc Windows x86-32 Details
greenlet-0.4.10-cp27-cp27m-manylinux1_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64 Details
greenlet-0.4.10-cp26-cp26mu-manylinux1_x86_64.whl CPython 2.6 CPython 2.6 pymalloc wide-unicode Linux glibc 2.5+ x86-64 Details
greenlet-0.4.10-cp26-cp26m-win_amd64.whl CPython 2.6 CPython 2.6 pymalloc Windows x86-64 Details
greenlet-0.4.10-cp26-cp26m-win32.whl CPython 2.6 CPython 2.6 pymalloc Windows x86-32 Details
greenlet-0.4.10-cp26-cp26m-manylinux1_x86_64.whl CPython 2.6 CPython 2.6 pymalloc Linux glibc 2.5+ x86-64 Details

Total release size: 740.0 kB

Release files / greenlet-0.4.10.zip

Download URL greenlet-0.4.10.zip
Size 82.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9a98d49f63259b16d3627976b69dd856888a376c498b091c8e9ead56d5098ca8
BLAKE2b-256 checksum
How to use checksums
6762ca2a95648666eaa2ffeb6a9b3964f21d419ae27f82f2e66b53da5b943fc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10.tar.gz

Download URL greenlet-0.4.10.tar.gz
Size 57.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c4417624aa88380cdf0fe110a8a6e0dbcc26f80887197fe5df0427dfa348ae62
BLAKE2b-256 checksum
How to use checksums
f23f09412b656067f280cf017ce5b6465e6339089129212425111117be5557d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-py3.5-win-amd64.egg

Download URL greenlet-0.4.10-py3.5-win-amd64.egg
Size 16.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
6c717e5fbe2bba8cb885031883dcb55c609ffadb84ef395f91915050d3c84343
BLAKE2b-256 checksum
How to use checksums
644ac84591efe67981d1ba9b4cc9fc003b561ac1c5e2a59960a8df9d93ae6915
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-py3.5-win32.egg

Download URL greenlet-0.4.10-py3.5-win32.egg
Size 14.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
134ec264699eeb76a5fee5d73a3c8766f8d4c5edc12464bb438cb6f3f3bd23e4
BLAKE2b-256 checksum
How to use checksums
5d7d804c633bb57f0dfbc67bb6603e3bc8a75ca2e4904fa14518e41ce58c1418
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-py3.4-win-amd64.egg

Download URL greenlet-0.4.10-py3.4-win-amd64.egg
Size 13.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
d549332dbb7351301d081db92c27d5f0f3d4803bd92c415c65c30bf98fbe8fb4
BLAKE2b-256 checksum
How to use checksums
a929c7afe95945cef97001dad02c0930beb77dc924b600ea5b0dde5dde49d9bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-py3.4-win32.egg

Download URL greenlet-0.4.10-py3.4-win32.egg
Size 13.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
4c5f4908f7c9fb1c4316b45ceabe35985ea79e79336ffe300ddd3f49bf57cbec
BLAKE2b-256 checksum
How to use checksums
58b405a9dc4725935490cee14ceb68a01eb49c50eb7dd68f6d53be9d6f4161a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-py3.3-win-amd64.egg

Download URL greenlet-0.4.10-py3.3-win-amd64.egg
Size 14.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
d0cc137ca44e3664d3d97d7bbba8c77f10b411bdbbe2215c5e7f00f7d5c2af08
BLAKE2b-256 checksum
How to use checksums
9507f9c599e74e552f9ac64426530d562de3d060c4f3f4fb4cd5214009780714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-py3.3-win32.egg

Download URL greenlet-0.4.10-py3.3-win32.egg
Size 13.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
97ee513db7c13ec21ec9b9657e257c2beb491ae8199b058c68d7451a2f6cc27b
BLAKE2b-256 checksum
How to use checksums
533ceb10384ff64112230f5fb86eea3be2908b48a532b3bf816d6858252db226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-py2.7-win-amd64.egg

Download URL greenlet-0.4.10-py2.7-win-amd64.egg
Size 13.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
3d46c7841477136bcdafa1b343c0849d9886845848bd563279608f0644b2598a
BLAKE2b-256 checksum
How to use checksums
a7d7c10e63637a81f8a706325ef83700edbe516a1b7aa9b77fdf5d025925b84a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-py2.7-win32.egg

Download URL greenlet-0.4.10-py2.7-win32.egg
Size 13.1 kB
Tags Egg
SHA-256 checksum
How to use checksums
f4d77939b392bbafbf3eea01169aefe85cb5ffbbd5b9a9d7ef012b01c384df5c
BLAKE2b-256 checksum
How to use checksums
9b9ff5cf90ed990858dbc5272ae0d4cf12622c6568c65768f7b3f2b9ce385d31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-py2.6-win-amd64.egg

Download URL greenlet-0.4.10-py2.6-win-amd64.egg
Size 14.0 kB
Tags Egg
SHA-256 checksum
How to use checksums
a9c2e9ded2ee4d6e17c70d52109a97392a64400b1568108825d1cabf26710b35
BLAKE2b-256 checksum
How to use checksums
9e3523e0925e35ef0c57303a6d17de54044c1cd9cff3b4381e9ec2fcf3450cdc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-py2.6-win32.egg

Download URL greenlet-0.4.10-py2.6-win32.egg
Size 13.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
58b07295a5085cff7773d2866510701d5cd955156e5368d7b6c823811e62da9b
BLAKE2b-256 checksum
How to use checksums
49b02b2d7d89d13e4d06bd9c0d5ce35e56b76c01107b4dfe2b8a76c463d9d34b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp35-cp35m-win_amd64.whl

Download URL greenlet-0.4.10-cp35-cp35m-win_amd64.whl
Size 18.2 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
af5fd9bfac0eef3875d6dc4496ba83ed1fb3f802045409a005d08c1ca98cad22
BLAKE2b-256 checksum
How to use checksums
aaf33a1c4022df5d41b621c8fc78b6cf9e7a2f85cd805a54ff682656442e7bdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp35-cp35m-win32.whl

Download URL greenlet-0.4.10-cp35-cp35m-win32.whl
Size 16.6 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
4d89f536490e74691e6e1e232c72d112863d8597f894873c3f452e08f21843e4
BLAKE2b-256 checksum
How to use checksums
7ffcb4e82a55691c306ff1dead3fa28bf7a13ff20102bc1bcc658b04a38982b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp35-cp35m-manylinux1_x86_64.whl

Download URL greenlet-0.4.10-cp35-cp35m-manylinux1_x86_64.whl
Size 43.5 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
37bcb3e2cf8f67ce6b735b1c50f098c6774f5cf47258de58561e05c639dad356
BLAKE2b-256 checksum
How to use checksums
1b6d893829eaa00aa6e6c0f9cb06e492f8d6f54c59d5023fad6fb1093e812aba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp34-cp34m-win_amd64.whl

Download URL greenlet-0.4.10-cp34-cp34m-win_amd64.whl
Size 16.1 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c6428e6086535231d99c1de464c8a8e2face60d255c4c20dd84379760beb9307
BLAKE2b-256 checksum
How to use checksums
bfacf5d2ed53e57f26dae713c355acb09b22862342427c0737fe255bb8364b8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp34-cp34m-win32.whl

Download URL greenlet-0.4.10-cp34-cp34m-win32.whl
Size 15.3 kB
Tags CPython 3.4 CPython 3.4 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
1017efcb7c2078f081dc9b505f2fff606e683e672ddea9a7dbd332222c6a0a7c
BLAKE2b-256 checksum
How to use checksums
34f05024b2d5adab770083f664b0aa59cb0342b88bd1c4b3485b2979bcfe8133
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp34-cp34m-manylinux1_x86_64.whl

Download URL greenlet-0.4.10-cp34-cp34m-manylinux1_x86_64.whl
Size 46.0 kB
Tags CPython 3.4 CPython 3.4 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
d9be3514f22439a3fb468aa1b026654f5eafb1b65bd6b0ffe109439ad77adffc
BLAKE2b-256 checksum
How to use checksums
b13d315f8aa0b91c92212447e31693e97b52033bb27a4716b45ba4966d2d132d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp33-cp33m-win_amd64.whl

Download URL greenlet-0.4.10-cp33-cp33m-win_amd64.whl
Size 16.1 kB
Tags CPython 3.3 CPython 3.3 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
5a8a7402f28f2d7d3829d0e62bb370749bd6e013b6eb40cfe2637b298b2fd25f
BLAKE2b-256 checksum
How to use checksums
793938bffa935e7ea792386204e75fdacbc9a4d1ce23c338e939f8fa246c45a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp33-cp33m-win32.whl

Download URL greenlet-0.4.10-cp33-cp33m-win32.whl
Size 15.3 kB
Tags CPython 3.3 CPython 3.3 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
7e5b804e011d605c24662d30cc2e4c8f4896ee4c1d5f2ed5b73accbc3613af5f
BLAKE2b-256 checksum
How to use checksums
15905a29762281541302ed89ec4e0371c20a0bb0e31fa2520449c67ac25d392a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp33-cp33m-manylinux1_x86_64.whl

Download URL greenlet-0.4.10-cp33-cp33m-manylinux1_x86_64.whl
Size 42.9 kB
Tags CPython 3.3 CPython 3.3 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
1b537b3144ef518586f7935e3671f0f8195056288936dcd200744f285b7e24ae
BLAKE2b-256 checksum
How to use checksums
a9da8e76c236e2d4ee94b479955f4ce6dcc7f5a45d99039cdef64f704782552d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp27-cp27mu-manylinux1_x86_64.whl

Download URL greenlet-0.4.10-cp27-cp27mu-manylinux1_x86_64.whl
Size 41.9 kB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
5682764e893e5e6621dd70f11b72993f723953ee3d374650bf9dcea99c04f9c2
BLAKE2b-256 checksum
How to use checksums
fd4b108108a5a4234b2c7f81a7e9513950caf5146c9b2d47664348dbe9aebaf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp27-cp27m-win_amd64.whl

Download URL greenlet-0.4.10-cp27-cp27m-win_amd64.whl
Size 16.1 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
12efc20be79d6f5a61257758b0d926ea083e0e93ca9a3f07bd6ebfac37327a9b
BLAKE2b-256 checksum
How to use checksums
ccc344d82ed208807daf8cb28bea246aac88851647ea2022c0ae74ff27593669
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp27-cp27m-win32.whl

Download URL greenlet-0.4.10-cp27-cp27m-win32.whl
Size 15.3 kB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
f97758ca465fd2cf9b3335881b073b3463558e985078f4d8f27941d9626615ea
BLAKE2b-256 checksum
How to use checksums
92bac5944fa4fd90668060a21241d31fdf4dd266e0f979669d7a16ff00631e1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp27-cp27m-manylinux1_x86_64.whl

Download URL greenlet-0.4.10-cp27-cp27m-manylinux1_x86_64.whl
Size 41.9 kB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
1b6642acde2889c8cef00ef237e28cfdb1e928ea1c7e08d06d67b4a42a73fcff
BLAKE2b-256 checksum
How to use checksums
4e8368179c890e14aacc9426a8955269758437e0ee0059fb561bd74ae1e25573
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp26-cp26mu-manylinux1_x86_64.whl

Download URL greenlet-0.4.10-cp26-cp26mu-manylinux1_x86_64.whl
Size 41.9 kB
Tags CPython 2.6 CPython 2.6 pymalloc wide-unicode Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
3cd07825d98ed834a74821fcd8f1c40d8410b6cf92726dcaaad4b46b440da852
BLAKE2b-256 checksum
How to use checksums
3f2e57df6e9d7ce7bccdfd655d87df96d3214417c55f137e09cd7cc63e1136ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp26-cp26m-win_amd64.whl

Download URL greenlet-0.4.10-cp26-cp26m-win_amd64.whl
Size 16.3 kB
Tags CPython 2.6 CPython 2.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
d32efa985042147e87bc08b6f9bcf5335e0adefefdaf391484c38192e8a707f7
BLAKE2b-256 checksum
How to use checksums
0492f5012acb4ea4a104a657e5b68fcf74ff76fd848881ec4ff6395037cd0307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp26-cp26m-win32.whl

Download URL greenlet-0.4.10-cp26-cp26m-win32.whl
Size 15.6 kB
Tags CPython 2.6 CPython 2.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
d0e071a6fd2314447827285d33958b76b98090a78267bd7074f5bc10057db3d5
BLAKE2b-256 checksum
How to use checksums
da5fee0122f8b120b17a42528cf517f799ff7add182c3531002309b6d517eda6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / greenlet-0.4.10-cp26-cp26m-manylinux1_x86_64.whl

Download URL greenlet-0.4.10-cp26-cp26m-manylinux1_x86_64.whl
Size 41.8 kB
Tags CPython 2.6 CPython 2.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
1f8bf39807016d97778e12c45510addc6996f965a0b40aa7ecbb28a73ed9861c
BLAKE2b-256 checksum
How to use checksums
aeaffa294a670a9bcd39776e883cd2cbb912efee8c10574c6f053d4e5c7162c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

3.5.6

79 release files

3.5.5

79 release files

3.5.4

79 release files

3.5.3

79 release files

3.5.2

79 release files

3.5.1

79 release files

3.5.0

59 release files

3.3.2

53 release files

3.3.1

53 release files

3.2.5

47 release files

3.2.1

55 release files

3.2.0

55 release files

3.1.1

73 release files

3.1.0

66 release files

3.0.3

58 release files

3.0.1

57 release files

2.0.2

64 release files

2.0.0

55 release files

1.1.3

54 release files

1.1.2

55 release files

1.0.0

43 release files

This release

0.4.10 This release

29 release files

0.4.9

22 release files

0.4.7

17 release files

0.4.5

17 release files

0.4.1

8 release files

0.4.0

23 release files

0.3.4

21 release files

0.3.2

15 release files

0.3

11 release files

0.2

4 release files

0.1

4 release files

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