Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tribler/tribler
/ types & classes
Types & classes
310 in github.com/Tribler/tribler
⨍
Functions
1,819
◇
Types & classes
310
↳
Endpoints
21
↓ 163 callers
Interface
Path
src/tribler/ui/src/models/path.model.tsx:3
↓ 110 callers
Class
RESTResponse
A Tribler response for web requests. JSON-compatible response bodies are automatically converted to JSON type.
src/tribler/core/restapi/rest_endpoint.py:61
↓ 95 callers
Interface
Download
src/tribler/ui/src/models/download.model.tsx:22
↓ 56 callers
Class
FakeTDef
A convenience TorrentDef with near-empty atp.
src/tribler/test_unit/core/libtorrent/mocks.py:148
↓ 52 callers
Class
HealthInfo
An entry that described the health of a torrent at a particular moment in time.
src/tribler/core/torrent_checker/healthdataclasses.py:27
↓ 38 callers
Class
MockTriblerConfigManager
A memory-based TriblerConfigManager.
src/tribler/test_unit/mocks.py:4
↓ 34 callers
Class
DownloadConfig
A configuration belonging to a specific download. A step-by-step to add to the config: 1. Add your new config value somewhere in the ``D
src/tribler/core/libtorrent/download_manager/download_config.py:85
↓ 23 callers
Class
DatabaseEndpoint
This is the top-level endpoint class that serves other endpoints. /metadata /torrents /<public_key>
src/tribler/core/database/restapi/database_endpoint.py:66
↓ 21 callers
Class
TorrentDef
This object acts as a wrapper around some libtorrent metadata. It can be used to create new torrents, or analyze existing ones.
src/tribler/core/libtorrent/torrentdef.py:30
↓ 19 callers
Class
Desc
A Notification callback descriptor.
src/tribler/core/notifier.py:13
↓ 17 callers
Class
Notifier
The class responsible for managing and calling observers of global Tribler events.
src/tribler/core/notifier.py:56
↓ 17 callers
Class
Stream
Holds the streaming status of a specific download.
src/tribler/core/libtorrent/download_manager/stream.py:42
↓ 16 callers
Class
DownloadState
Contains a snapshot of the state of the Download at a specific point in time. Using a snapshot instead of providing live data and protect
src/tribler/core/libtorrent/download_manager/download_state.py:55
↓ 14 callers
Class
UdpTrackerSession
The UDPTrackerSession makes a connection with a UDP tracker and queries seeders and leechers for one or more infohashes. It handles the messa
src/tribler/core/torrent_checker/torrentchecker_session.py:277
↓ 12 callers
Class
MockSocks5Client
A Mocked Socks5Client that does not pull any event loop constructs. The following three methods are tested in test_server.
src/tribler/test_unit/core/socks5/test_client.py:11
↓ 11 callers
Class
MockTorrentState
A mocked TorrentState Pony ORM database object.
src/tribler/test_unit/core/torrent_checker/mocks.py:119
↓ 10 callers
Class
HttpTrackerSession
A session for HTTP tracker checks.
src/tribler/core/torrent_checker/torrentchecker_session.py:118
↓ 10 callers
Class
TriblerConfigManager
A class that interacts with a JSON configuration file.
src/tribler/tribler_config.py:398
↓ 9 callers
Class
GenericRequest
Some generic request.
src/tribler/test_unit/core/restapi/test_rest_manager.py:25
↓ 9 callers
Class
MockTrackerState
A mocked TrackerState Pony ORM database object.
src/tribler/test_unit/core/torrent_checker/mocks.py:97
↓ 9 callers
Class
Socks5Error
Errors with the SOCKS5 protocol.
src/tribler/core/socks5/client.py:29
↓ 8 callers
Class
GetEventsRequest
A MockRequest that mimics GetEventsRequests.
src/tribler/test_unit/core/restapi/test_events_endpoint.py:12
↓ 8 callers
Interface
Peer
src/tribler/ui/src/models/tunnelpeer.model.tsx:3
↓ 6 callers
Class
ApiKeyMiddleware
Middleware to check if REST requests include an API key. The key can be in: - The ``X-Api-Key`` header. - The ``apikey`` query para
src/tribler/core/restapi/rest_manager.py:65
↓ 6 callers
Class
HealthItemsPayload
Payload for health item information. See the details of binary format in MetadataCompressor class description.
src/tribler/core/database/serialization.py:283
↓ 6 callers
Class
MalformedTrackerURLException
The tracker URL is not valid.
src/tribler/core/libtorrent/trackers.py:15
↓ 6 callers
Class
MetainfoLookupResult
The result of a MetainfoLookup, stored in the metainfo_cache.
src/tribler/core/libtorrent/download_manager/download_manager.py:70
↓ 6 callers
Class
MockTorrentMetadata
Mocked torrent metadata.
src/tribler/test_unit/core/database/orm_bindings/test_torrent_metadata.py:9
↓ 5 callers
Interface
Circuit
src/tribler/ui/src/models/circuit.model.tsx:3
↓ 5 callers
Class
HanDl
Download subclass that has a method that takes a handle.
src/tribler/test_unit/core/libtorrent/test_torrents.py:21
↓ 5 callers
Class
StatisticsEndpoint
This endpoint is responsible for handing requests regarding statistics in Tribler.
src/tribler/core/restapi/statistics_endpoint.py:72
↓ 4 callers
Class
GoldenRatioStrategy
Strategy for removing peers once we have too many in the TunnelCommunity. This strategy will remove a "normal" peer if the current ratio of
src/tribler/core/tunnel/discovery.py:16
↓ 4 callers
Class
HealthRequestPayload
A request to be sent the health information of torrents.
src/tribler/core/content_discovery/payload.py:11
↓ 4 callers
Class
MockDownloadManager
Mocked manager that always allows shutdown (regardless of the libtorrent state).
src/tribler/test_integration/test_hidden_services.py:44
↓ 4 callers
Class
MockDownloadManager
Mocked manager that always allows shutdown (regardless of the libtorrent state).
src/tribler/test_integration/test_anon_download.py:44
↓ 4 callers
Class
SelectResponsePayload
A response to a select request.
src/tribler/core/content_discovery/payload.py:135
↓ 4 callers
Class
SettingsEndpoint
This endpoint is responsible for handing all requests regarding settings and configuration.
src/tribler/core/restapi/settings_endpoint.py:11
↓ 4 callers
Class
ShutdownEndpoint
With this endpoint you can shut down Tribler.
src/tribler/core/restapi/shutdown_endpoint.py:16
↓ 4 callers
Class
Socks5Connector
A connector for Socks5 to create clients.
src/tribler/core/socks5/aiohttp_connector.py:39
↓ 4 callers
Class
TorrentMetadataPayload
Payload for metadata that stores a torrent.
src/tribler/core/database/serialization.py:214
↓ 4 callers
Class
TrackerResponse
A list of health responses for the given url.
src/tribler/core/torrent_checker/healthdataclasses.py:112
↓ 4 callers
Class
UdpSocketManager
The UdpSocketManager ensures that the network packets are forwarded to the right UdpTrackerSession.
src/tribler/core/torrent_checker/torrentchecker_session.py:212
↓ 3 callers
Class
InvalidAddressException
An address could not be packed or unpacked.
src/tribler/core/socks5/conversion.py:164
↓ 3 callers
Class
MetainfoLookup
A metainfo lookup download and the number of times it has been invoked.
src/tribler/core/libtorrent/download_manager/download_manager.py:61
↓ 3 callers
Class
ProcessingResult
This class is used to return results of processing of a payload by process_payload. It includes a dictionary of the metadata (data), the data
src/tribler/core/database/store.py:61
↓ 3 callers
Class
RESTEndpoint
The base class for all Tribler REST endpoints.
src/tribler/core/restapi/rest_endpoint.py:23
↓ 3 callers
Class
SearchEndpoint
This endpoint is responsible for searching in channels and torrents present in the local Tribler database.
src/tribler/core/content_discovery/restapi/search_endpoint.py:33
↓ 3 callers
Class
SelectRequest
Keep track of the packets to a Peer during the answering of a select request.
src/tribler/core/content_discovery/cache.py:16
↓ 3 callers
Class
SignedPayload
A payload that captures a public key and metadata type and supports adding a signature over its contents. This payload can be extended to al
src/tribler/core/database/serialization.py:88
↓ 3 callers
Class
Socks5ClientUDPConnection
A datagram protocol for Socks5 connections.
src/tribler/core/socks5/client.py:35
↓ 3 callers
Class
StreamRequest
A MockRequest that mimics StreamRequests.
src/tribler/test_unit/core/libtorrent/restapi/test_downloads_endpoint.py:24
↓ 3 callers
Class
TrackerStatusDict
Information about the state of a tracker.
src/tribler/core/libtorrent/download_manager/download.py:83
↓ 3 callers
Class
TriblerTunnelSettings
Settings for Tribler's tunnel community.
src/tribler/core/tunnel/community.py:58
↓ 3 callers
Class
VersionRequest
A request for the Tribler version and Operating System of a peer.
src/tribler/core/content_discovery/payload.py:72
↓ 2 callers
Class
CommandRequest
A request for commands to be executed.
src/tribler/core/socks5/conversion.py:66
↓ 2 callers
Class
CreateTorrentEndpoint
Create a torrent file from local files. See: http://www.bittorrent.org/beps/bep_0012.html
src/tribler/core/libtorrent/restapi/create_torrent_endpoint.py:32
↓ 2 callers
Class
DownloadManager
The manager of all downloads.
src/tribler/core/libtorrent/download_manager/download_manager.py:104
↓ 2 callers
Class
DownloadsEndpoint
This endpoint is responsible for all requests regarding downloads. Examples include getting all downloads, starting, pausing and stopping dow
src/tribler/core/libtorrent/restapi/downloads_endpoint.py:61
↓ 2 callers
Class
EventsEndpoint
Important events in Tribler are returned over the events endpoint. This connection is held open. Each event is pushed over this endpoint in t
src/tribler/core/restapi/events_endpoint.py:47
↓ 2 callers
Class
FakeResolver
Pretend to resolve an address. Just echo it back.
src/tribler/core/socks5/aiohttp_connector.py:19
↓ 2 callers
Class
HealthFormat
A payload for torrent health information.
src/tribler/core/content_discovery/payload.py:24
↓ 2 callers
Class
IPv8RootEndpoint
Make the IPv8 REST endpoint Tribler-compatible.
src/tribler/core/restapi/ipv8_endpoint.py:6
↓ 2 callers
Class
LibTorrentEndpoint
Endpoint for getting information about libtorrent sessions and settings.
src/tribler/core/libtorrent/restapi/libtorrent_endpoint.py:19
↓ 2 callers
Class
MetadataStore
Storage of metadata for channels and torrents.
src/tribler/core/database/store.py:129
↓ 2 callers
Class
MockContentDiscoveryCommunity
A mocked ContentDiscoveryCommunity.
src/tribler/test_unit/core/content_discovery/restapi/test_search_endpoint.py:17
↓ 2 callers
Class
MockMiniTorrentMetadata
A partial mock of TorrentMetadata.
src/tribler/test_unit/core/torrent_checker/test_torrent_checker.py:31
↓ 2 callers
Class
RESTManager
This class is responsible for managing the startup and closing of the Tribler HTTP API.
src/tribler/core/restapi/rest_manager.py:168
↓ 2 callers
Class
RSSWatcher
Watch a single RSS URL and call updates when new torrents are added.
src/tribler/core/rss/rss.py:32
↓ 2 callers
Class
RemoteSelectPayload
A payload to sent SQL queries to other peers.
src/tribler/core/content_discovery/payload.py:121
↓ 2 callers
Class
RootEndpoint
Create a new root endpoint. Essentially, this is the same as any other REST endpoint, but it is supposed to be the top in the hierarchy.
src/tribler/core/restapi/rest_endpoint.py:39
↓ 2 callers
Class
SaveResumeDataError
This error is used when the resume data of a download fails to save.
src/tribler/core/libtorrent/download_manager/download.py:44
↓ 2 callers
Class
Session
A session manager that manages all components.
src/tribler/core/session.py:102
↓ 2 callers
Class
Socks5Client
This object represents a minimal Socks5 client. Both TCP and UDP are supported.
src/tribler/core/socks5/client.py:80
↓ 2 callers
Class
TorrentChecker
A class to check the health of torrents.
src/tribler/core/torrent_checker/torrent_checker.py:55
↓ 2 callers
Class
TorrentInfoEndpoint
This endpoint is responsible for handing all requests regarding torrent info in Tribler.
src/tribler/core/libtorrent/restapi/torrentinfo_endpoint.py:107
↓ 2 callers
Class
TrackerManager
A manager for tracker info in the database.
src/tribler/core/torrent_checker/tracker_manager.py:20
↓ 2 callers
Class
UpdateSettingsRequest
A MockRequest that mimics UpdateSettingsRequests.
src/tribler/test_unit/core/restapi/test_settings_endpoint.py:10
↓ 2 callers
Class
VersionResponse
A response to a request for Tribler version and OS.
src/tribler/core/content_discovery/payload.py:81
↓ 2 callers
Class
VersioningEndpoint
An endpoint for version determination and upgrading from the previous version.
src/tribler/core/versioning/restapi/versioning_endpoint.py:20
↓ 2 callers
Class
VersioningManager
Version related logic.
src/tribler/core/versioning/manager.py:23
↓ 2 callers
Class
WatchFolderManager
Watch the torrent files in a folder. Add torrents that are in this folder and remove torrents that are removed while we are watching.
src/tribler/core/watch_folder/manager.py:13
↓ 1 callers
Class
AlertHandlerDict
Alert handler dictionary.
src/tribler/core/libtorrent/download_manager/download.py:95
↓ 1 callers
Class
ContentDiscoveryCommunityConfig
Settings for the content discovery component.
src/tribler/tribler_config.py:112
↓ 1 callers
Class
ContentDiscoverySettings
The settings for the content discovery community.
src/tribler/core/content_discovery/community.py:47
↓ 1 callers
Class
DBResult
Mock a Pony ORM result.
src/tribler/test_unit/core/torrent_checker/mocks.py:12
↓ 1 callers
Class
DHTDiscoveryCommunityConfig
Settings for the DHT discovery component.
src/tribler/tribler_config.py:120
↓ 1 callers
Class
DHTHealthManager
This class manages BEP33 health requests to the libtorrent DHT.
src/tribler/core/libtorrent/download_manager/dht_health_manager.py:17
↓ 1 callers
Class
DatabaseConfig
Settings for the database component.
src/tribler/tribler_config.py:128
↓ 1 callers
Class
Download
Download subclass that represents a libtorrent download.
src/tribler/core/libtorrent/download_manager/download.py:130
↓ 1 callers
Class
DownloadConfigDefaultsSection
The default config settings for a download.
src/tribler/core/libtorrent/download_manager/download_config.py:18
↓ 1 callers
Class
DownloadConfigSection
The config info of a download.
src/tribler/core/libtorrent/download_manager/download_config.py:53
↓ 1 callers
Class
DownloadDefaultsConfig
Settings for default downloads, used by libtorrent.
src/tribler/tribler_config.py:145
↓ 1 callers
Class
FileEndpoint
This endpoint allows clients to view the server's file structure remotely.
src/tribler/core/restapi/file_endpoint.py:15
↓ 1 callers
Class
GlobalTestSettings
Keep track of a global node identifier.
src/tribler/test_integration/test_hidden_services.py:36
↓ 1 callers
Class
GlobalTestSettings
Keep track of a global node identifier.
src/tribler/test_integration/test_anon_download.py:36
↓ 1 callers
Class
HTTPRequestPayload
A request to an HTTP address.
src/tribler/core/tunnel/payload.py:8
↓ 1 callers
Class
HTTPResponsePayload
A response after executing an HTTP request.
src/tribler/core/tunnel/payload.py:24
↓ 1 callers
Class
IPv8Endpoint
An DispatcherEndpoint that allows its preferred interface to be updated.
src/tribler/core/session.py:90
↓ 1 callers
Class
JSONFilesInfo
A JSON dict to describe file info.
src/tribler/core/libtorrent/restapi/downloads_endpoint.py:49
↓ 1 callers
Class
JSONMiniFileInfo
A minimal JSON dict to describe file info.
src/tribler/core/libtorrent/restapi/torrentinfo_endpoint.py:43
next →
1–100 of 310, ranked by callers