pyrocore package

Python Torrent Tools Core Package.

Copyright (c) 2010 The PyroScope Project <pyroscope.project@gmail.com>

pyrocore.connect(config_dir=None, optional_config_files=None, cron_cfg='cron')[source]

Initialize everything for interactive use.

Returns a ready-to-use RtorrentEngine object.

Submodules

pyrocore.config module

Configuration.

For details, see https://pyrocore.readthedocs.io/en/latest/setup.html

Copyright (c) 2009, 2010, 2011 The PyroScope Project <pyroscope.project@gmail.com>

pyrocore.config.lookup_announce_alias(name)[source]

Get canonical alias name and announce URL list for the given alias.

pyrocore.config.map_announce2alias(url)[source]

Get tracker alias for announce URL, and if none is defined, the 2nd level domain.

pyrocore.error module

Exception Classes.

Copyright (c) 2010 The PyroScope Project <pyroscope.project@gmail.com>

exception pyrocore.error.EngineError[source]

Bases: pyrocore.error.LoggableError

Connection or other backend error.

exception pyrocore.error.LoggableError[source]

Bases: exceptions.Exception

An exception that is intended to be logged instead of passing it to the runtime environment which will likely produce a full stacktrace.

exception pyrocore.error.NetworkError[source]

Bases: pyrocore.error.LoggableError

External connection errors.

exception pyrocore.error.UserError[source]

Bases: pyrocore.error.LoggableError

Yes, it was your fault!