Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
asyncchain
Small python library to allow "async chaining"
Usage
import asyncio
from asyncchain import ChainMeta
class Target(metaclass=ChainMeta):
async def first(self):
print("first")
async def second(self):
print("second")
async def main():
my_target = Target()
await my_target.first().second()
if __name__ == "__main__":
asyncio.run(main())
Metadata
Release files for asyncchain 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 | |
|---|---|---|---|
| asyncchain-0.1.1.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asyncchain-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / asyncchain-0.1.1.tar.gz
| Download URL | asyncchain-0.1.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e12a0e4c7e32b6d0c4f3833019ae25930b3ff455c2b3ed92869135d9b72d8a9
|
|
BLAKE2b-256 checksum How to use checksums |
ad328f8fac6d4fee222145f388935e6b1f8f1c2dc4056e493ae67fca94be3e19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.2 Windows/10
|
Release files / asyncchain-0.1.1-py3-none-any.whl
| Download URL | asyncchain-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4cbee519b76b118b4749dd25b75acef107df1e07df2e7e3d419994db081d9c29
|
|
BLAKE2b-256 checksum How to use checksums |
65ea7a5eadf66329b1e4d3bb798e67288d4d9c79ec068ffaf2d49a6ca90e4d69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.8.2 Windows/10
|