This project is a branch of greenlet on QPython.
Greenlets are lightweight coroutines for in-process concurrent programming.
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 test_generator.py).
Greenlets are provided as a C extension module for the regular unmodified interpreter.
Metadata
Release files for greenlet-qpython 3.1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| greenlet_qpython-3.1.1.4.tar.gz | 308.8 kB | Without provenance | Details for greenlet_qpython-3.1.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| greenlet_qpython-3.1.1.4-py3-none-any.whl | Python 3 | none | any | Details for greenlet_qpython-3.1.1.4-py3-none-any.whl |
Total release size: 646.7 kB
Release files / greenlet_qpython-3.1.1.4.tar.gz
| Download URL | greenlet_qpython-3.1.1.4.tar.gz |
|---|---|
| Size | 308.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a28934afeec0f3fe95b61b6c224290673c133574a386ac9f279f9cc52e7e670b
|
|
BLAKE2b-256 checksum How to use checksums |
3062bf76ad9257a13b398663112c9e15960c5e7b74200cf374238692b9c4c3b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.7
|
Release files / greenlet_qpython-3.1.1.4-py3-none-any.whl
| Download URL | greenlet_qpython-3.1.1.4-py3-none-any.whl |
|---|---|
| Size | 337.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02a604e824a5af20263b8be670f2e0c03af8a40e288e0257011461d52da1ec25
|
|
BLAKE2b-256 checksum How to use checksums |
3f62ab39db8049071a67c4c0ffb034f22befa79f3408c09a3d03e534f9bb773b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.7
|
Security for greenlet-qpython 3.1.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.