houndcore package

Subpackages

Submodules

houndcore.config module

class houndcore.config.Config(*, RPC: str, MODE: Literal['fast', 'block'])[source]

Bases: BaseModel

Config Class

Parameters:
  • RPC (str) – WebSocket or HTTP RPC

  • MODE (Literal["fast", "block"]) – The Scanner Mode

MODE: Literal['fast', 'block']
RPC: str
from_env() Self[source]

load local .env file and returns Config

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

houndcore.logger module

houndcore.logger.get_logger() Logger[source]

Module contents