https://github.com/python-greenlet/greenlet

Last synced: about 1 month ago

Repository metadata:

Lightweight in-process concurrent programming


Owner metadata:


Committers metadata

Last synced: about 1 month ago

Total Commits: 948
Total Committers: 78
Avg Commits per committer: 12.154
Development Distribution Score (DDS): 0.539

Commits in past year: 85
Committers in past year: 13
Avg Commits per committer in past year: 6.538
Development Distribution Score (DDS) in past year: 0.318

Name Email Commits
Jason Madden j****n@g****m 437
Alexey Borzenkov s****y@g****m 188
Ralf Schmitt r****f@s****e 90
Kyle Ambroff a****f@l****m 64
Victor Stinner v****r@p****g 16
Michael Droettboom m****m@g****m 11
bob@16b7edcf-4bd7-0310-b1c2-f8d8cf7ab505 b****b@1****5 11
Brandt Bucher b****r@m****m 7
Josh Snyder j****s@n****m 6
Joshua Oreman o****j@g****m 6
Matt Madison m****n@b****g 6
1.v3m 1****4@m****r 5
Hugo van Kemenade h****k 5
BengtOFFIS b****s@o****e 4
Floris Bruynooghe f****b@d****e 4
Giel van Schijndel me@m****u 3
Victor Stinner v****r@r****m 3
Sergey Fedorov b****a@m****g 3
Niyas Sait n****t@l****g 3
Marc Abramowitz m****c@m****m 3
BoonsNaibot d****a@y****m 3
Andreas Schwab s****b@s****e 2
ChangBo Guo(gcb) e****o@e****n 2
Jesse Gorzinski j****i@g****m 2
Khem Raj r****m@g****m 2
Matt Turner m****8@g****m 2
Michael Matz m****z@s****e 2
Proton f****u@1****m 2
Robie Basak r****k@c****m 2
Ronny Pfannschmidt R****t@g****e 2
and 48 more...

Issue and Pull Request metadata

Last synced: about 1 month ago


Package metadata

pypi: greenlet

Lightweight in-process concurrent programming

  • Homepage: https://greenlet.readthedocs.io/
  • Documentation: https://greenlet.readthedocs.io/
  • Licenses: MIT License
  • Latest release: 3.0.3 (published almost 1 year ago)
  • Last Synced: 2024-11-10T23:46:58.792Z (about 1 month ago)
  • Versions: 52
  • Dependent Packages: 515
  • Dependent Repositories: 68,235
  • Downloads: 127,396,877 Last month
  • Docker Downloads: 3,795,048,204
  • Rankings:
    • Downloads: 0.011%
    • Dependent repos count: 0.02%
    • Docker downloads count: 0.023%
    • Dependent packages count: 0.061%
    • Average: 1.158%
    • Stargazers count: 2.359%
    • Forks count: 4.475%
  • Maintainers (9)
spack: py-greenlet

Lightweight in-process concurrent programming

  • Homepage: https://github.com/python-greenlet/greenlet
  • Licenses: []
  • Latest release: 2.0.2 (published over 1 year ago)
  • Last Synced: 2024-11-10T23:47:24.596Z (about 1 month ago)
  • Versions: 7
  • Dependent Packages: 5
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Average: 5.575%
    • Stargazers count: 6.086%
    • Forks count: 6.503%
    • Dependent packages count: 9.712%
  • Maintainers (1)
conda: greenlet

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.

  • Homepage: https://github.com/python-greenlet/greenlet
  • Licenses: MIT
  • Latest release: 2.0.1 (published about 2 years ago)
  • Last Synced: 2024-11-10T23:49:35.385Z (about 1 month ago)
  • Versions: 14
  • Dependent Packages: 16
  • Dependent Repositories: 291
  • Rankings:
    • Dependent repos count: 1.867%
    • Dependent packages count: 3.958%
    • Average: 7.024%
    • Stargazers count: 10.462%
    • Forks count: 11.809%
conda: greenlet

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.

  • Homepage: https://github.com/python-greenlet/greenlet
  • Licenses: MIT
  • Latest release: 3.0.1 (published about 1 year ago)
  • Last Synced: 2024-11-10T23:47:38.405Z (about 1 month ago)
  • Versions: 12
  • Dependent Packages: 7
  • Dependent Repositories: 291
  • Rankings:
    • Dependent packages count: 5.101%
    • Dependent repos count: 10.94%
    • Average: 14.428%
    • Stargazers count: 19.883%
    • Forks count: 21.789%
pypi: creature

  • Homepage:
  • Status: removed
  • Documentation: https://creature.readthedocs.io/
  • Licenses: other
  • Latest release: 0.1.17 (published almost 2 years ago)
  • Last Synced: 2024-11-10T23:46:56.618Z (about 1 month ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 16 Last month
  • Rankings:
    • Dependent packages count: 10.002%
    • Dependent repos count: 21.718%
    • Average: 25.331%
    • Downloads: 44.273%
  • Maintainers (1)

Dependencies

.github/workflows/tests.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v2 composite
  • github/codeql-action/analyze v1 composite
  • github/codeql-action/init v1 composite
  • pypa/gh-action-pypi-publish v1.4.1 composite
dev-requirements.txt pypi
  • setuptools * development
  • wheel * development
setup.py pypi
pyproject.toml pypi