ThreadLoop
Run Tornado Coroutines from Synchronous Python.
from threadloop import ThreadLoop
from tornado import gen
@gen.coroutine
def coroutine(greeting="Goodbye"):
yield gen.sleep(1)
raise gen.Return("%s World" % greeting)
with ThreadLoop() as threadloop:
future = threadloop.submit(coroutine, "Hello")
print future.result() # Hello World
Metadata
Release files for threadloop 1.0.2
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 |
|---|---|---|---|---|
| threadloop-1.0.2.tar.gz | 4.9 kB | Without provenance | Details for threadloop-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| threadloop-1.0.2-py2-none-any.whl | Python 2 | none | any | Details for threadloop-1.0.2-py2-none-any.whl |
Total release size: 11.1 kB
Release files / threadloop-1.0.2.tar.gz
| Download URL | threadloop-1.0.2.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b180aac31013de13c2ad5c834819771992d350267bddb854613ae77ef571944
|
|
BLAKE2b-256 checksum How to use checksums |
d31d8398c1645b97dc008d3c658e04beda01ede3d90943d40c8d56863cf891bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / threadloop-1.0.2-py2-none-any.whl
| Download URL | threadloop-1.0.2-py2-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
5c90dbefab6ffbdba26afb4829d2a9df8275d13ac7dc58dccb0e279992679599
|
|
BLAKE2b-256 checksum How to use checksums |
dc1aecc8f9060b8b00f8a7edac9eb020357575d332a5ad9e32c3372c66a35f79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for threadloop 1.0.2
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.