Async python for Event-Driven applications
Project description
AsyncED
Async python for Event-Driven applications
High-level API
Coming soon...
Low-level API
Perpetual
Where asyncio futures are the bridge between low-level events and a coroutines, perpetuals are the bridge between event streams and async iterators.
In it's essence, a perpetual is an asyncio.Future that can have its result (or exception) set multiple times, at least until it is stopped. Besides a perpetual being awaitable just like a future, it is an async iterator as well.
ensure_future
Wrap an async iterable in a perpetual, and automatically starts iterating.
See perpetual_drumkit.py for an example.
~
More docs and examples coming soon...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file asynced-0.1.0.tar.gz
.
File metadata
- Download URL: asynced-0.1.0.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-35-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff1c4184a2ecb32f43914469bd303efc238dac1902e300a4fdecf15a682df9f6 |
|
MD5 | 677d862dd670f8d8eca20b6ca911b1ea |
|
BLAKE2b-256 | 8ffc72da76405c31fe9e58e3d96f76071dd22a61e5506076f7deaebece50772b |
File details
Details for the file asynced-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: asynced-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-35-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a8d1d93d3e4b8f33ad2bbff975bcedc435cae9b3c9e8587241cec5be705c776 |
|
MD5 | 0cb61fe61ec003b0a508444b2944a40c |
|
BLAKE2b-256 | 2a6ed9efb53286216330c4f3a9ea77a6416524b7854e9986b1d267425ce3d505 |