<filename>busypie/core.py
import busypie.condition
from busypie.condition import ConditionBuilder
from busypie.durations import SECOND


def wait():
    return ConditionBuilder()


given = wait


def wait_at_most(value, unit=SECOND):
    return wait().at_most(value, unit)


set_default_timeout = busypie.condition.set_default_timeout

reset_defaults = busypie.condition.reset_defaults

<filename>busypie/core.py
import busypie.condition
from busypie.condition import ConditionBuilder
from busypie.durations import SECOND


def wait():
    return ConditionBuilder()


given = wait


def wait_at_most(value, unit=SECOND):
    return wait().at_most(value, unit)


set_default_timeout = busypie.condition.set_default_timeout

reset_defaults = busypie.condition.reset_defaults
