Context loop
- Info:
Context loop.
- Author:
Paweł Zadrożny @pawelzny <pawel.zny@gmail.com>
Features
Work with sync and async frameworks
Schedule tasks to existing loop or create new one
No need to understand how async works
No callbacks required
Run async tasks whenever and wherever you want
Installation
pip install context-loop
Documentation
Read full documentation at http://context-loop.readthedocs.io/en/stable/
Quick Example
>>> async def coro():
... return await something_from_future()
...
>>> import cl.Loop
>>> with cl.Loop(coro(), coro(), coro()) as loop:
... result = loop.run_until_complete()
...
>>> result
['success', 'success', 'success']
Metadata
Release files for context-loop 0.1.1
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 |
|---|---|---|---|---|
| context-loop-0.1.1.tar.gz | 26.2 kB | Without provenance | Details for context-loop-0.1.1.tar.gz |
Release files / context-loop-0.1.1.tar.gz
| Download URL | context-loop-0.1.1.tar.gz |
|---|---|
| Size | 26.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab8e33bb900dcc045fde017cd00d148071df6afa26c4272ffc78a06a294eb9a3
|
|
BLAKE2b-256 checksum How to use checksums |
67ad6d19f8beb6b57204c46686544652a939db33dd3974638062ac34be120a04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for context-loop 0.1.1
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.