python-greenlet/greenlet
Lightweight in-process concurrent programming observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 97
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5373
- days_rel: n/a
- days_push: 23
- n_releases_24m: 0
Adoption not part of the score
1840 stars · 272 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Greenlet is a C extension for CPython providing lightweight in-process coroutines (micro-threads) with no implicit scheduling. It lets developers build custom control flow structures and is the foundation for libraries like Gevent and Eventlet.
Use cases
- run cooperative coroutines in-process without OS threads
- build custom schedulers or micro-thread frameworks
- implement generators that yield from nested function calls
- power concurrent networking libraries like gevent or eventlet
- switch execution contexts explicitly for advanced control flow
When to choose
- you need fine-grained, explicit control over coroutine switching
- you're building or using cooperative concurrency libraries like gevent
- you want lightweight concurrency without implicit scheduling overhead
When to avoid
- you only need simple async/await, which modern Python supports natively
- you need true parallelism across CPU cores
- you want implicit scheduling of tasks rather than manual switching
Facets
library · maturity stable
concurrency developer-tools backend python cross-platform coroutines micro-threads c-extension cooperative-scheduling
1 source
- readme: https://github.com/python-greenlet/greenlet · fetched 2026-08-28 · 33cb67dad2ab
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| python-greenlet/greenlet | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="python-greenlet/greenlet")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem