Skip to main content

logo

Easy and expressive busy-waiting for Python

tests badge pypi version license badge

Although you typically wouldn't want to do much busy-waiting in your production code, testing is a different matter. When testing asynchronous systems, it's very helpful to wait for some scenario to finish its course. busypie helps you perform busy waiting easily and expressively.

Quickstart

Most typical usage will be in test, when we have a scenario that requires us to wait for something to happen.

from busypie import wait, SECOND

def test_create_user():
    create_user_from(USER_DETAILS)
    wait().at_most(2, SECOND).until(lambda: is_user_exists(USER_DETAILS))

Documentation

Links

This project drew a lot of inspiration from Awaitility.

Release files for busypie 0.6.1

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

Source distribution (sdist)

Source distribution for busypie 0.6.1
File Size Uploaded
busypie-0.6.1.tar.gz 46.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for busypie 0.6.1
File Interpreter ABI Platform
busypie-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 88.7 kB

Release files / busypie-0.6.1.tar.gz

Download URL busypie-0.6.1.tar.gz
Size 46.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1662a6fa2e9685aeb7c662be9438b65f15c9c4cc28e64d071e01645ad9ce6af2
BLAKE2b-256 checksum
How to use checksums
b529851e1a266a16620b810af36aa60a8d89b9214e765980aa4c0e5684cc4411
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 7, 2026.

Transparency log

Release files / busypie-0.6.1-py3-none-any.whl

Download URL busypie-0.6.1-py3-none-any.whl
Size 42.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b4673687d58249e791b4b0361a1e188fd1a35ffcacb9398437aed3394e3a3da
BLAKE2b-256 checksum
How to use checksums
f6230086d8fd645e2afd94589ec543a608af6eb66e40ca5bd7166efe53d99d81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.1.1

2 release files

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