Skip to main content

Asynker: Coroutine scheduler for the “await” syntax

Asynker (IPA: /eɪˈsɪŋkɜːn/) is pretty much the least amount of code you need to use the “await” syntax. Typically packages like asyncio or curio implement two concepts at once: a scheduler and an event loop. The scheduler is a piece of code that decides what to run next and then runs it. The event loop is a piece of code that tells the scheduler what it can run.

Asynker only provides the scheduling part. This generally only makes sense if you are using something else as the event loop, e.g. something callback-based. Asynker allows you to use a callback-based system and easily convert it into a coroutine/await-based system.

The Future class used in Asynker is unrelated to any of the various Future classes found in the Python standard library (for now, anyway).

Features

  • Does over 900000 yields per second [citation needed]

  • The API is like asyncio but different enough to probably introduce interesting behaviours for study in your code

  • If all you wanted was to use “await” in your code without loading 500 kB of code, then this is for you

Metadata

Release files for asynker 0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asynker 0.8
File Size Uploaded Provenance Actions
asynker-0.8.tar.gz 12.0 kB Without provenance Details for asynker-0.8.tar.gz

Release files / asynker-0.8.tar.gz

Download URL asynker-0.8.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3d506ab340a79be8058318636c54c90e02a827f3a269a77b11e78fcf6a662810
BLAKE2b-256 checksum
How to use checksums
ef1cb77c71212a0d5f4ce752e07633a677aa46914b15ff43648ac35f194dbeac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Security for asynker 0.8

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page