mathy/mathstream/__init__.py
2025-11-05 16:35:15 +01:00

33 lines
701 B
Python

from .engine import clear_logs, add, sub, mul, div, mod, pow, is_even, is_odd
from .exceptions import MathStreamError, DivideByZeroError
from .number import (
StreamNumber,
free_stream,
active_streams,
set_manual_free_only,
manual_free_only_enabled,
)
from .utils import collect_garbage, tracked_files, instance_stats
__all__ = [
"clear_logs",
"collect_garbage",
"tracked_files",
"instance_stats",
"add",
"sub",
"mul",
"div",
"mod",
"pow",
"is_even",
"is_odd",
"StreamNumber",
"free_stream",
"active_streams",
"set_manual_free_only",
"manual_free_only_enabled",
"MathStreamError",
"DivideByZeroError",
]