tribler.tribler_config
Note: after making changes to this file, run it to generate the pyi types!
Attributes
An IPv8 bootstrapper configuration. |
|
An IPv8 overlay launch config. |
|
Classes
An IPv8 network interface. |
|
An IPv8 key configuration. |
|
The IPv8 logger configuration. |
|
An IPv8 walker configuration. |
|
The main IPv8 configuration dictionary. |
|
Settings for the API key component. |
|
Settings for the content discovery component. |
|
Settings for the DHT discovery component. |
|
Settings for the database component. |
|
Settings for the versioning component. |
|
Settings for default downloads, used by libtorrent. |
|
Settings for the libtorrent component. |
|
Settings for the user recommender component. |
|
Settings for the rendezvous component. |
|
Settings for the rss component. |
|
Settings for the torrent checker component. |
|
Settings for the tunnel community component. |
|
Settings for the watch folder component. |
|
The main Tribler settings and all of its components' sub-settings. |
|
A class that interacts with a JSON configuration file. |
Functions
|
Module Contents
- tribler.tribler_config.logger
- class tribler.tribler_config.IPv8InterfaceConfig
Bases:
TypedDictAn IPv8 network interface.
- class tribler.tribler_config.IPv8KeysConfig
Bases:
TypedDictAn IPv8 key configuration.
- class tribler.tribler_config.IPv8LoggerConfig
Bases:
TypedDictThe IPv8 logger configuration.
- class tribler.tribler_config.IPv8WalkerConfig
Bases:
TypedDictAn IPv8 walker configuration.
- tribler.tribler_config.IPv8BootstrapperConfig
An IPv8 bootstrapper configuration.
- tribler.tribler_config.IPv8OverlayConfig
An IPv8 overlay launch config.
- class tribler.tribler_config.IPv8Config
Bases:
TypedDictThe main IPv8 configuration dictionary.
- interfaces: list[IPv8InterfaceConfig]
- keys: list[IPv8KeysConfig]
D.keys() -> a set-like object providing a view on D’s keys
- logger: IPv8LoggerConfig
- overlays: list[IPv8OverlayConfig]
- class tribler.tribler_config.ApiConfig
Bases:
TypedDictSettings for the API key component.
- class tribler.tribler_config.ContentDiscoveryCommunityConfig
Bases:
TypedDictSettings for the content discovery component.
- class tribler.tribler_config.DHTDiscoveryCommunityConfig
Bases:
TypedDictSettings for the DHT discovery component.
- class tribler.tribler_config.DatabaseConfig
Bases:
TypedDictSettings for the database component.
- class tribler.tribler_config.VersioningConfig
Bases:
TypedDictSettings for the versioning component.
- class tribler.tribler_config.DownloadDefaultsConfig
Bases:
TypedDictSettings for default downloads, used by libtorrent.
- class tribler.tribler_config.LibtorrentConfig
Bases:
TypedDictSettings for the libtorrent component.
- download_defaults: DownloadDefaultsConfig
- class tribler.tribler_config.RecommenderConfig
Bases:
TypedDictSettings for the user recommender component.
- class tribler.tribler_config.RendezvousConfig
Bases:
TypedDictSettings for the rendezvous component.
- class tribler.tribler_config.RSSConfig
Bases:
TypedDictSettings for the rss component.
- class tribler.tribler_config.TorrentCheckerConfig
Bases:
TypedDictSettings for the torrent checker component.
- class tribler.tribler_config.TunnelCommunityConfig
Bases:
TypedDictSettings for the tunnel community component.
- class tribler.tribler_config.WatchFolderConfig
Bases:
TypedDictSettings for the watch folder component.
- class tribler.tribler_config.TriblerConfig
Bases:
TypedDictThe main Tribler settings and all of its components’ sub-settings.
- ipv8: IPv8Config
- content_discovery_community: ContentDiscoveryCommunityConfig
- database: DatabaseConfig
- libtorrent: LibtorrentConfig
- recommender: RecommenderConfig
- rendezvous: RendezvousConfig
- torrent_checker: TorrentCheckerConfig
- tunnel_community: TunnelCommunityConfig
- versioning: VersioningConfig
- watch_folder: WatchFolderConfig
- tribler.tribler_config.DEFAULT_CONFIG
- tribler.tribler_config.VERSION_SUBDIR
- class tribler.tribler_config.TriblerConfigManager(config_file: pathlib.Path = Path('configuration.json'))
A class that interacts with a JSON configuration file.
- config_file
- configuration