24 lines
526 B
Python
24 lines
526 B
Python
"""qBittorrent API client."""
|
|
|
|
from .client import QBittorrentClient
|
|
from .dto import TorrentInfo
|
|
from .exceptions import (
|
|
QBittorrentAPIError,
|
|
QBittorrentAuthError,
|
|
QBittorrentConfigurationError,
|
|
QBittorrentError,
|
|
)
|
|
|
|
# Global qBittorrent client instance (singleton)
|
|
qbittorrent_client = QBittorrentClient()
|
|
|
|
__all__ = [
|
|
"QBittorrentClient",
|
|
"TorrentInfo",
|
|
"QBittorrentError",
|
|
"QBittorrentConfigurationError",
|
|
"QBittorrentAPIError",
|
|
"QBittorrentAuthError",
|
|
"qbittorrent_client",
|
|
]
|