clutch.schema.user.method.torrent package¶
Submodules¶
clutch.schema.user.method.torrent.accessor module¶
- class clutch.schema.user.method.torrent.accessor.TorrentAccessorArguments¶
Bases:
TorrentAccessorArgumentsOptional-
fields:
Set[Literal['activity_date','added_date','availability','bandwidth_priority','comment','corrupt_ever','creator','date_created','desired_available','done_date','download_dir','downloaded_ever','download_limit','download_limited','edit_date','error','error_string','eta','eta_idle','file_count','files','file_stats','group','hash_string','have_unchecked','have_valid','honors_session_limits','id','is_finished','is_private','is_stalled','labels','left_until_done','magnet_link','manual_announce_time','max_connected_peers','metadata_percent_complete','name','peer_limit','peers','peers_connected','peers_from','peers_getting_from_us','peers_sending_to_us','percent_complete','percent_done','pieces','piece_count','piece_size','priorities','primary_mime_type','queue_position','rate_download','rate_upload','recheck_progress','seconds_downloading','seconds_seeding','seed_idle_limit','seed_idle_mode','seed_ratio_limit','seed_ratio_mode','sequential_download','size_when_done','start_date','status','trackers','tracker_list','tracker_stats','total_size','torrent_file','uploaded_ever','upload_limit','upload_limited','upload_ratio','wanted','webseeds','webseeds_sending_to_us']]¶
-
format:
Literal['objects','table']¶
-
ids:
Union[int,Iterable[Union[int,str]],Iterable[int],Iterable[str],Literal['recently_active']]¶
-
fields:
clutch.schema.user.method.torrent.action module¶
- class clutch.schema.user.method.torrent.action.TorrentActionMethod(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
Enum- REANNOUNCE = 'torrent-reannounce'¶
- START = 'torrent-start'¶
- START_NOW = 'torrent-start-now'¶
- STOP = 'torrent-stop'¶
- VERIFY = 'torrent-verify'¶
clutch.schema.user.method.torrent.add module¶
- class clutch.schema.user.method.torrent.add.TorrentAddArgumentsOptional¶
Bases:
TypedDict-
bandwidth_priority:
int¶
-
download_dir:
str¶
-
files_unwanted:
Sequence[int]¶
-
files_wanted:
Sequence[int]¶
-
paused:
bool¶
-
peer_limit:
int¶
-
priority_high:
Sequence[int]¶
-
priority_low:
Sequence[int]¶
-
priority_normal:
Sequence[int]¶
-
bandwidth_priority:
- class clutch.schema.user.method.torrent.add.TorrentAddByFilenameArguments¶
Bases:
TorrentAddArgumentsOptional-
bandwidth_priority:
int¶
-
download_dir:
str¶
-
filename:
str¶
-
files_unwanted:
Sequence[int]¶
-
files_wanted:
Sequence[int]¶
-
paused:
bool¶
-
peer_limit:
int¶
-
priority_high:
Sequence[int]¶
-
priority_low:
Sequence[int]¶
-
priority_normal:
Sequence[int]¶
-
bandwidth_priority:
- class clutch.schema.user.method.torrent.add.TorrentAddByMetainfoArguments¶
Bases:
TorrentAddArgumentsOptional-
bandwidth_priority:
int¶
-
download_dir:
str¶
-
files_unwanted:
Sequence[int]¶
-
files_wanted:
Sequence[int]¶
-
metainfo:
str¶
-
paused:
bool¶
-
peer_limit:
int¶
-
priority_high:
Sequence[int]¶
-
priority_low:
Sequence[int]¶
-
priority_normal:
Sequence[int]¶
-
bandwidth_priority:
clutch.schema.user.method.torrent.move module¶
- class clutch.schema.user.method.torrent.move.TorrentMoveArguments¶
Bases:
TorrentMoveArgumentsOptional-
ids:
Union[int,Iterable[Union[int,str]],Iterable[int],Iterable[str],Literal['recently_active']]¶
-
location:
str¶
-
move:
bool¶
-
ids:
clutch.schema.user.method.torrent.mutator module¶
- class clutch.schema.user.method.torrent.mutator.TorrentMutatorArguments¶
Bases:
TypedDict-
bandwidth_priority:
int¶
-
download_limit:
int¶
-
download_limited:
bool¶
-
files_unwanted:
Sequence[int]¶
-
files_wanted:
Sequence[int]¶
-
group:
str¶
-
honors_session_limits:
bool¶
-
ids:
Union[int,Iterable[Union[int,str]],Iterable[int],Iterable[str],Literal['recently_active']]¶
-
labels:
Sequence[str]¶
-
location:
str¶
-
peer_limit:
int¶
-
priority_high:
Sequence[int]¶
-
priority_low:
Sequence[int]¶
-
priority_normal:
Sequence[int]¶
-
queue_position:
int¶
-
seed_idle_limit:
int¶
-
seed_idle_mode:
int¶
-
seed_ratio_limit:
float¶
-
seed_ratio_mode:
int¶
-
sequential_download:
bool¶
-
tracker_list:
Sequence[Sequence[NewType(Url,str)]]¶
-
upload_limit:
int¶
-
upload_limited:
bool¶
-
bandwidth_priority:
clutch.schema.user.method.torrent.remove module¶
- class clutch.schema.user.method.torrent.remove.TorrentRemoveArguments¶
Bases:
TorrentRemoveArgumentsOptional-
delete_local_data:
bool¶
-
ids:
Union[int,Iterable[Union[int,str]],Iterable[int],Iterable[str],Literal['recently_active']]¶
-
delete_local_data: