37 lines
823 B
Python
37 lines
823 B
Python
"""Python bindings for the asic-rs miner management library.
|
|
|
|
The package exposes the same high-level concepts as the Rust crate:
|
|
`MinerFactory` discovers miners, `Miner` gathers telemetry and performs
|
|
supported controls, and `pyasic_rs.data` / `pyasic_rs.config` provide shared
|
|
Pydantic-compatible models.
|
|
"""
|
|
|
|
from .config import (
|
|
FanConfig,
|
|
FanMode,
|
|
Pool,
|
|
PoolGroup,
|
|
ScalingConfig,
|
|
TimezoneConfig,
|
|
TuningConfig,
|
|
)
|
|
from .factory import MinerFactory
|
|
from .listener import MinerListener
|
|
from .miner import Miner
|
|
from .data import OperatingState, TuningTarget
|
|
|
|
__all__ = [
|
|
"FanConfig",
|
|
"FanMode",
|
|
"Miner",
|
|
"MinerFactory",
|
|
"MinerListener",
|
|
"Pool",
|
|
"PoolGroup",
|
|
"ScalingConfig",
|
|
"TimezoneConfig",
|
|
"TuningConfig",
|
|
"TuningTarget",
|
|
"OperatingState",
|
|
]
|