Skip to content

Commit

Permalink
Move scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Mar 9, 2022
1 parent a65cf1f commit 3505a53
Show file tree
Hide file tree
Showing 21 changed files with 43 additions and 43 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
from ipv8.lazy_community import lazy_wrapper
from ipv8.peer import Peer
from ipv8.peerdiscovery.discovery import RandomWalk
from tribler_core.components.metadata_store.db.serialization import REGULAR_TORRENT
from tribler_core.components.metadata_store.remote_query_community.remote_query_community import RemoteQueryCommunity, \
from tribler.core.components.metadata_store.db.serialization import REGULAR_TORRENT
from tribler.core.components.metadata_store.remote_query_community.remote_query_community import RemoteQueryCommunity, \
RemoteSelectPayload, \
SelectRequest, \
SelectResponsePayload
from tribler_core.components.metadata_store.remote_query_community.settings import RemoteQueryCommunitySettings
from tribler_core.utilities.tiny_tribler_service import TinyTriblerService
from tribler_core.utilities.unicode import hexlify
from tribler.core.components.metadata_store.remote_query_community.settings import RemoteQueryCommunitySettings
from tribler.core.utilities.tiny_tribler_service import TinyTriblerService
from tribler.core.utilities.unicode import hexlify

# flake8: noqa

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@

from ipv8.peerdiscovery.discovery import RandomWalk
from ipv8_service import IPv8
from tribler_core.components.ipv8.ipv8_component import Ipv8Component
from tribler_core.components.libtorrent.libtorrent_component import LibtorrentComponent
from tribler_core.components.key.key_component import KeyComponent
from tribler_core.components.metadata_store.metadata_store_component import MetadataStoreComponent
from tribler_core.components.popularity.popularity_component import PopularityComponent
from tribler_core.components.restapi.restapi_component import RESTComponent
from tribler_core.components.socks_servers.socks_servers_component import SocksServersComponent
from tribler_core.components.torrent_checker.torrent_checker_component import TorrentCheckerComponent
from tribler_core.config.tribler_config import TriblerConfig
from tribler_core.components.gigachannel.community.sync_strategy import RemovePeers
from tribler_core.components.popularity.community.popularity_community import PopularityCommunity
from tribler_core.utilities.tiny_tribler_service import TinyTriblerService
from tribler.core.components.ipv8.ipv8_component import Ipv8Component
from tribler.core.components.libtorrent.libtorrent_component import LibtorrentComponent
from tribler.core.components.key.key_component import KeyComponent
from tribler.core.components.metadata_store.metadata_store_component import MetadataStoreComponent
from tribler.core.components.popularity.popularity_component import PopularityComponent
from tribler.core.components.restapi.restapi_component import RESTComponent
from tribler.core.components.socks_servers.socks_servers_component import SocksServersComponent
from tribler.core.components.torrent_checker.torrent_checker_component import TorrentCheckerComponent
from tribler.core.config.tribler_config import TriblerConfig
from tribler.core.components.gigachannel.community.sync_strategy import RemovePeers
from tribler.core.components.popularity.community.popularity_community import PopularityCommunity
from tribler.core.utilities.tiny_tribler_service import TinyTriblerService

_logger = logging.getLogger(__name__)
interval_in_sec = None
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@

from ipv8.taskmanager import TaskManager

from tribler_core.components.ipv8.ipv8_component import Ipv8Component
from tribler_core.components.key.key_component import KeyComponent
from tribler_core.components.restapi.restapi_component import RESTComponent
from tribler_core.components.tunnel.tunnel_component import TunnelsComponent
from tribler_core.config.tribler_config import TriblerConfig
from tribler_core.utilities.tiny_tribler_service import TinyTriblerService
from tribler.core.components.ipv8.ipv8_component import Ipv8Component
from tribler.core.components.key.key_component import KeyComponent
from tribler.core.components.restapi.restapi_component import RESTComponent
from tribler.core.components.tunnel.tunnel_component import TunnelsComponent
from tribler.core.config.tribler_config import TriblerConfig
from tribler.core.utilities.tiny_tribler_service import TinyTriblerService

EXPERIMENT_RUN_TIME = int(os.environ.get('EXPERIMENT_RUN_TIME', 3600 * 3))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from ipv8.messaging.anonymization.tunnel import EXIT_NODE, ORIGINATOR
from ipv8.taskmanager import task

from tribler_core.components.tunnel.tunnel_component import TunnelsComponent
from tribler.core.components.tunnel.tunnel_component import TunnelsComponent

from experiment.tunnel_community.speed_test_exit import EXPERIMENT_NUM_CIRCUITS, EXPERIMENT_NUM_HOPS, \
from scripts.experiments.tunnel_community.speed_test_exit import EXPERIMENT_NUM_CIRCUITS, EXPERIMENT_NUM_HOPS, \
Service as SpeedTestExitService

EXPERIMENT_NUM_MB = int(os.environ.get('EXPERIMENT_NUM_MB', 10))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
from ipv8.messaging.anonymization.utils import run_speed_test
from ipv8.taskmanager import TaskManager

from tribler_core.components.ipv8.ipv8_component import Ipv8Component
from tribler_core.components.key.key_component import KeyComponent
from tribler_core.components.restapi.restapi_component import RESTComponent
from tribler_core.components.tunnel.tunnel_component import TunnelsComponent
from tribler_core.config.tribler_config import TriblerConfig
from tribler_core.utilities.tiny_tribler_service import TinyTriblerService
from tribler.core.components.ipv8.ipv8_component import Ipv8Component
from tribler.core.components.key.key_component import KeyComponent
from tribler.core.components.restapi.restapi_component import RESTComponent
from tribler.core.components.tunnel.tunnel_component import TunnelsComponent
from tribler.core.config.tribler_config import TriblerConfig
from tribler.core.utilities.tiny_tribler_service import TinyTriblerService

EXPERIMENT_NUM_MB = int(os.environ.get('EXPERIMENT_NUM_MB', 25))
EXPERIMENT_NUM_CIRCUITS = int(os.environ.get('EXPERIMENT_NUM_CIRCUITS', 10))
Expand Down
File renamed without changes.
24 changes: 12 additions & 12 deletions src/seedbox/disseminator.py → scripts/seedbox/disseminator.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@
import sentry_sdk
from pony.orm import db_session

from tribler_core.components.gigachannel.gigachannel_component import GigaChannelComponent
from tribler_core.components.gigachannel_manager.gigachannel_manager_component import GigachannelManagerComponent
from tribler_core.components.ipv8.ipv8_component import Ipv8Component
from tribler_core.components.libtorrent.libtorrent_component import LibtorrentComponent
from tribler_core.components.key.key_component import KeyComponent
from tribler_core.components.metadata_store.db.orm_bindings.channel_node import NEW
from tribler_core.components.metadata_store.metadata_store_component import MetadataStoreComponent
from tribler_core.components.restapi.restapi_component import RESTComponent
from tribler_core.components.socks_servers.socks_servers_component import SocksServersComponent
from tribler_core.config.tribler_config import TriblerConfig
from tribler_core.components.libtorrent.torrentdef import TorrentDef
from tribler_core.utilities.tiny_tribler_service import TinyTriblerService
from tribler.core.components.gigachannel.gigachannel_component import GigaChannelComponent
from tribler.core.components.gigachannel_manager.gigachannel_manager_component import GigachannelManagerComponent
from tribler.core.components.ipv8.ipv8_component import Ipv8Component
from tribler.core.components.libtorrent.libtorrent_component import LibtorrentComponent
from tribler.core.components.key.key_component import KeyComponent
from tribler.core.components.metadata_store.db.orm_bindings.channel_node import NEW
from tribler.core.components.metadata_store.metadata_store_component import MetadataStoreComponent
from tribler.core.components.restapi.restapi_component import RESTComponent
from tribler.core.components.socks_servers.socks_servers_component import SocksServersComponent
from tribler.core.config.tribler_config import TriblerConfig
from tribler.core.components.libtorrent.torrentdef import TorrentDef
from tribler.core.utilities.tiny_tribler_service import TinyTriblerService

# fmt: off
# flake8: noqa
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3505a53

Please sign in to comment.