Registry / web-framework / asynckivy

asynckivy

JSON →
library0.11.0pypypiunverified

Async library for Kivy, providing async/await support for Kivy event loop, touch events, animations, and transitions. Current version 0.10.0 supports Python >=3.10 and <4.0. Released roughly every few months with occasional breaking changes as APIs are deprecated and removed.

pip install asynckivy
INSTALL
IMPORT
SIG · ASYNCKIVY
A
asynckivy
web-frameworkpythonv0.11.0
Install
2.3s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.11.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.5MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.3s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

run_asynckivy
from asynckivy import run_asynckivy
from asynckivy import run_asynckivy

This example starts a Kivy app asynchronously and waits for a button press using the event() coroutine.

import asynckivy from kivy.app import App from kivy.uix.button import Button class TestApp(App): def build(self): return Button(text='Click me') async def main(): app = TestApp() # Run the app asynchronously async with asynckivy.run_asynckivy(app): await asynckivy.event(app.root, 'on_press') print('Button was pressed!') asynckivy.start(main())
Debug
Known issues
breakingThe `anim_with_xxx` APIs (except `anim_with_ratio`) are deprecated as of 0.9.1 and will be removed in a future version. Use the new `transition` submodule for animations.
fix
Replace `anim_with_xxx` calls with equivalent `asynckivy.transition` functions (e.g., `fade_in`, `slide`).
affects: >=0.9.1
breakingIn version 0.7.0, `anim_with_ratio` no longer ends on its own (was removed from auto-ending). You must explicitly cancel or await completion.
fix
Use `managed_start` or explicitly await the animation task with cancellation.
affects: >=0.7.0
deprecated`fade_transition` (from the module) is deprecated as of 0.9.0; use `asynckivy.transition.fade` instead.
fix
Import `asynckivy.transition` and use `asynckivy.transition.fade(...)`.
affects: >=0.9.0
gotcha`managed_start` is required to properly cancel tasks on app exit. Otherwise tasks may continue indefinitely.
fix
Use `managed_start` for task spawning (see quickstart).
affects: >=0.7.1
breakingPython 3.9 support dropped in v0.9.1. asynckivy 0.10.0 requires Python >=3.10.
fix
Upgrade Python to 3.10 or later.
affects: >=0.9.1
gotcha`event()` coroutine expects a widget and a single event name (string). Not the same as Kivy's `bind`; it waits for the event to fire once.
fix
Use `await asynckivy.event(widget, 'on_touch_down')` (not `bind`).
affects: all
Upgrade
Version history
0.11.0latest on PyPI · released Jun 2, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
OpenAI (training)
1
Resources