Install & Compatibility
Where this runs
tested against v0.7 · 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
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
Chronometer
✓ from looptime import Chronometer
✗ from looptime import Looper
LoopTimeEventLoop
✓ from looptime import LoopTimeEventLoop
new_event_loop
✓ from looptime import new_event_loop
Basic usage: create a Looper, enter it as a context manager, advance time, and exit.
import asyncio
from looptime import Looper
async def test_sleep():
looper = Looper()
asyncio.get_event_loop().run_until_complete(looper.__aenter__())
await asyncio.sleep(3600)
# Without looper, this would block for an hour.
looper.advance(3600)
# Now the sleep completes immediately.
await looper.__aexit__(None, None, None)
Upgrade
Version history
0.7latest on PyPI · released Jan 3, 2026
Audit
Dependencies
No dependency data recorded yet.