Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tribler/tribler
/ functions
Functions
1,819 in github.com/Tribler/tribler
⨍
Functions
1,819
◇
Types & classes
310
↳
Endpoints
21
Function
done_cb
(fut: Future[lt.torrent_handle])
src/tribler/core/libtorrent/torrents.py:81
Method
drop_fts_triggers
Drop the FTS triggers.
src/tribler/core/database/store.py:295
Method
drop_indexes
Drop the indices for this database.
src/tribler/core/database/store.py:269
Method
enable_chunking
Ignore chunking settings.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:76
Method
enable_compression
Ignore compression.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:71
Function
encode_atp
Encode the "Add Torrent Params" dictionary to only include bytes, instead of strings and Paths.
src/tribler/core/libtorrent/download_manager/download_manager.py:81
Method
fake_has_piece
(piece_index: int)
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:718
Method
fake_request
(_: str)
src/tribler/test_unit/core/torrent_checker/test_torrentchecker_session.py:86
Method
fake_set_download_limit
(x: int)
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:905
Method
fake_set_upload_limit
(x: int)
src/tribler/test_unit/core/libtorrent/download_manager/test_download.py:885
Method
fill_fts_index
Insert the FTS indices.
src/tribler/core/database/store.py:313
Method
finalize
When we are done launching, register our REST API.
src/tribler/core/components.py:132
Method
finalize
When we are done launching, register our REST API.
src/tribler/core/components.py:178
Method
finalize
When we are done launching, register our REST API.
src/tribler/core/components.py:223
Method
finalize
When we are done launching, register our REST API.
src/tribler/core/components.py:241
Method
finalize
When we are done launching, register our REST API.
src/tribler/core/components.py:255
Method
finalize
When we are done launching, register our REST API.
src/tribler/core/components.py:308
Method
finalize
When we are done launching, register our REST API.
src/tribler/core/components.py:323
Method
finalize
When we are done launching, register our REST API.
src/tribler/core/components.py:349
Method
finalize_lookup
Finalize the lookup of the provided infohash and invoke the appropriate deferred. :param infohash: The infohash of the lookup we fin
src/tribler/core/libtorrent/download_manager/dht_health_manager.py:57
Method
fix_pack_platform
Convert the (utf-8) platform description string to bytes.
src/tribler/core/content_discovery/payload.py:99
Method
fix_pack_torrent_date
Auto-convert the torrent date to an integer if it is a ``datetime`` object.
src/tribler/core/database/serialization.py:229
Method
fix_pack_version
Convert the (utf-8) Tribler version string to bytes.
src/tribler/core/content_discovery/payload.py:93
Method
fix_unpack_platform
Convert the packed platform description back to a string.
src/tribler/core/content_discovery/payload.py:113
Method
fix_unpack_torrent_date
Auto-convert the torrent data from the integer wire format to a ``datetime`` object.
src/tribler/core/database/serialization.py:238
Method
fix_unpack_version
Convert the packed Tribler version back to a string.
src/tribler/core/content_discovery/payload.py:106
Method
foo
Callable method that takes a handle.
src/tribler/test_unit/core/libtorrent/test_torrents.py:26
Method
from_health
Create from health info.
src/tribler/test_unit/core/torrent_checker/mocks.py:146
Method
generic_handler
Pass this request.
src/tribler/test_unit/core/restapi/test_rest_manager.py:41
Method
get
(url: str | Callable)
src/tribler/core/database/orm_bindings/tracker_state.py:39
Method
get
(infohash: bytes)
src/tribler/core/database/orm_bindings/torrent_state.py:40
Function
getRowSelection
(input: any[], selected_func: (item: any) => boolean)
src/tribler/ui/src/lib/utils.ts:146
Method
get_bootstrappers
Simply use the old Dispersy bootstrapper format.
src/tribler/core/components.py:62
Method
get_current_version
Get the current release version, or None when running from archive or GIT.
src/tribler/core/versioning/restapi/versioning_endpoint.py:55
Method
get_dirspace_stats
Return disk space statistics for a given directory. This method fits the download logic: if the given directory does not exist, the
src/tribler/core/restapi/statistics_endpoint.py:202
Method
get_download_limit
Get the download bandwidth limit for this torrent.
src/tribler/core/libtorrent/download_manager/download_config.py:350
Method
get_endpoints
Get a list of endpoints that should be loaded.
src/tribler/core/components.py:50
Method
get_endpoints
Add the search endpoint.
src/tribler/core/components.py:143
Method
get_endpoints
Add the database endpoint.
src/tribler/core/components.py:188
Method
get_endpoints
Add the database endpoint.
src/tribler/core/components.py:334
Method
get_entries_count
Get the count of torrents that would be returned if there would be no pagination/limits.
src/tribler/core/database/store.py:781
Method
get_for_update
(url: str)
src/tribler/core/database/orm_bindings/tracker_state.py:42
Method
get_for_update
(infohash: bytes)
src/tribler/core/database/orm_bindings/torrent_state.py:56
Method
get_for_update
Get the instane belonging to the given keyword arguments.
src/tribler/test_unit/core/torrent_checker/mocks.py:74
Method
get_kwargs
Extend our community arguments with all necessary config settings and objects.
src/tribler/core/components.py:288
Method
get_libtorrent_version
Get the libtorrent version.
src/tribler/core/libtorrent/download_manager/download_manager.py:809
Method
get_logs
Return the most recent logs.
src/tribler/core/restapi/logging_endpoint.py:47
Method
get_magnet
(self)
src/tribler/core/database/orm_bindings/torrent_metadata.py:284
Method
get_my_peer
Get the default key.
src/tribler/core/components.py:74
Method
get_my_peer
Our peer still uses the Tribler default key.
src/tribler/core/components.py:113
Method
get_objects_to_create
Get the objects that need to be created.
src/tribler/core/database/store.py:278
Method
get_overlay_class
Create a fake Community.
src/tribler/core/components.py:107
Method
get_popular_torrents
Get the list of most popular torrents.
src/tribler/core/database/restapi/database_endpoint.py:241
Method
get_popular_torrents
Get torrent health info for the most popular torrent, last we know of.
src/tribler/core/content_discovery/community.py:234
Method
get_queue_position
Returns the position in the download queue. If the torrent is a seed or finished, -1 is returned.
src/tribler/core/libtorrent/download_manager/download_state.py:380
Method
get_seeding_ratio
Get auto managed flag.
src/tribler/core/libtorrent/download_manager/download_config.py:379
Method
get_share_mode
Get whether the download is in sharing mode.
src/tribler/core/libtorrent/download_manager/download_config.py:231
Method
get_torrent
Return the .torrent file associated with the specified download.
src/tribler/core/libtorrent/restapi/downloads_endpoint.py:663
Method
get_torrent_health_history
Fetch the swarm health of a specific torrent.
src/tribler/core/database/restapi/database_endpoint.py:203
Method
get_torrent_info_from_file
Return metainfo from a torrent found at a provided .torrent file.
src/tribler/core/libtorrent/restapi/torrentinfo_endpoint.py:333
Method
get_torrent_title
(cls: type[Self], infohash: bytes)
src/tribler/core/database/orm_bindings/torrent_metadata.py:356
Method
get_upload_limit
Get the upload bandwidth limit for this torrent.
src/tribler/core/libtorrent/download_manager/download_config.py:337
Method
get_upload_mode
Get whether the download is in upload-only mode.
src/tribler/core/libtorrent/download_manager/download_config.py:244
Method
get_value
Retrieve the value for a given key.
src/tribler/core/database/store.py:262
Method
get_versions
Get all versions in our state directory.
src/tribler/core/versioning/restapi/versioning_endpoint.py:70
Method
get_walk_strategies
Adhere to the default walking behavior.
src/tribler/core/components.py:68
Function
get_webui_root
Get the location of the "ui" directory. When compiled through PyInstaller, the ui directory changes. When running from source or when us
src/tribler/__init__.py:5
Function
handleInputChange
(event: React.ChangeEvent<HTMLInputElement>)
src/tribler/ui/src/components/ui/autocomplete.tsx:24
Method
handler
(_: web.Request)
src/tribler/test_unit/core/restapi/test_rest_manager.py:115
Function
hello_handler
(request: str)
src/tribler/test_integration/test_anon_download.py:60
Method
infohash
Convenient way to get the info_hash as bytes.
src/tribler/core/libtorrent/torrentdef.py:74
Method
initialize
Initialize the directory structure, launch the periodic tasks and start libtorrent background processes.
src/tribler/core/libtorrent/download_manager/download_manager.py:183
Function
interceptor
(response: AxiosResponse)
src/tribler/ui/src/components/layouts/Footer.tsx:59
Method
introduction_response_callback
Try to discover peers that are behind a different port.
src/tribler/core/tunnel/community.py:379
Function
invoke_func
(self: Download, *args: WrappedParams.args, **kwargs: WrappedParams.kwargs
src/tribler/core/libtorrent/torrents.py:55
Function
is_bencoded
Returns True is x appears to be valid bencoded byte string.
src/tribler/core/tunnel/community.py:44
Method
is_shutdown_ready
Always ready.
src/tribler/test_integration/test_hidden_services.py:49
Method
is_shutdown_ready
Always ready.
src/tribler/test_integration/test_anon_download.py:49
Method
is_shutting_down
Whether the download manager is currently shutting down.
src/tribler/core/libtorrent/download_manager/download_manager.py:162
Function
item_rank
Calculates the torrent rank for item received from remote query. Returns the torrent rank value in range [0, 1]. :param query: a user-define
src/tribler/core/database/ranks.py:15
Method
limit
(limit: int)
src/tribler/core/database/orm_bindings/torrent_state.py:65
Method
limit
Limit the results to a given limit.
src/tribler/test_unit/core/torrent_checker/mocks.py:28
Method
list
Return all files found in the specified path.
src/tribler/core/restapi/file_endpoint.py:95
Method
listFiles
(path: string, recursively: boolean)
src/tribler/ui/src/services/tribler.service.ts:569
Method
load_checkpoints
Load the checkpoint files in the checkpoint directory.
src/tribler/core/libtorrent/download_manager/download_manager.py:1064
Method
lookupDHTValue
(hash: string)
src/tribler/ui/src/services/ipv8.service.ts:169
Method
match_info
Get the match info (the infohash in the url).
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:48
Method
mds_run_now
Run an mds callback immediately.
src/tribler/test_unit/core/database/restapi/test_database_endpoint.py:24
Function
mock_unshorten
Don't following links.
src/tribler/test_unit/core/libtorrent/restapi/test_torrentinfo_endpoint.py:19
Method
mocked_listen_on_udp
()
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:85
Function
moveDownSelected
()
src/tribler/ui/src/dialogs/CreateTorrent.tsx:289
Function
moveDownloads
( selectedDownloads: Download[], storageLocation: string, completedLocation: string, t: TFunct
src/tribler/ui/src/pages/Downloads/Actions.tsx:115
Function
moveUpSelected
()
src/tribler/ui/src/dialogs/CreateTorrent.tsx:271
Method
notify_gui
(request: SelectRequest, processing_results: list[ProcessingResult])
src/tribler/core/content_discovery/community.py:258
Method
on_circuit_removed
Special handler for circuit removal notifications. The original notification contains non-JSON-serializable argument, so we send ano
src/tribler/core/restapi/events_endpoint.py:91
Method
on_connect
(_: Database, connection: Connection)
src/tribler/core/database/store.py:170
Method
on_health
Callback for when we receive torrent health.
src/tribler/core/content_discovery/community.py:207
Method
on_health_request
Callback for when we receive a request for torrent health.
src/tribler/core/content_discovery/community.py:194
Method
on_join_swarm
(addr: Address, ih: bytes = info_hash)
src/tribler/core/tunnel/community.py:342
Method
on_performance_alert
Handle a performance alert.
src/tribler/core/libtorrent/download_manager/download.py:654
← previous
next →
901–1,000 of 1,819, ranked by callers