clutch.schema.user.method.session package

Submodules

clutch.schema.user.method.session.accessor module

clutch.schema.user.method.session.mutator module

class clutch.schema.user.method.session.mutator.SessionMutatorArguments

Bases: TypedDict

alt_speed_down: int
alt_speed_enabled: bool
alt_speed_time_begin: int
alt_speed_time_day: int
alt_speed_time_enabled: bool
alt_speed_time_end: int
alt_speed_up: int
blocklist_enabled: bool
blocklist_url: str
cache_size_mb: int
dht_enabled: bool
download_dir: str
download_queue_enabled: bool
download_queue_size: int
encryption: str
idle_seeding_limit: int
idle_seeding_limit_enabled: bool
incomplete_dir: str
incomplete_dir_enabled: bool
lpd_enabled: bool
peer_limit_global: int
peer_limit_per_torrent: int
peer_port: int
peer_port_random_on_start: bool
pex_enabled: bool
port_forwarding_enabled: bool
queue_stalled_enabled: bool
queue_stalled_minutes: int
rename_partial_files: bool
script_torrent_done_enabled: bool
script_torrent_done_filename: str
seed_queue_enabled: bool
seed_queue_size: int
seed_ratio_limit: float
seed_ratio_limited: bool
speed_limit_down: int
speed_limit_down_enabled: bool
speed_limit_up: int
speed_limit_up_enabled: bool
start_added_torrents: bool
trash_original_torrent_files: bool
units: Units
utp_enabled: bool

clutch.schema.user.method.session.shared module

class clutch.schema.user.method.session.shared.Units

Bases: TypedDict

memory_bytes: Literal[1000, 1024]
memory_units: Tuple[Literal['kB'], Literal['MB'], Literal['GB'], Literal['TB']]
size_bytes: Literal[1000, 1024]
size_units: Tuple[Literal['kB'], Literal['MB'], Literal['GB'], Literal['TB']]
speed_bytes: Literal[1000, 1024]
speed_units: Tuple[Literal['kB/s'], Literal['MB/s'], Literal['GB/s'], Literal['TB/s']]

Module contents