e52ddb7dd4
CodeQL / Analyze (python) (push) Failing after 1s
Linting and testing / build (3.11) (push) Failing after 0s
Package exe with PyInstaller - Windows / build (push) Failing after 2s
Linting and testing / build (3.10) (push) Failing after 1s
Linting and testing / minimal-install (push) Failing after 1s
Update sites rating and statistics / build (push) Failing after 1s
Build docker image and push to DockerHub / docker (push) Failing after 1s
Linting and testing / build (3.12) (push) Failing after 1s
Linting and testing / build (3.14) (push) Failing after 1s
Linting and testing / build (3.13) (push) Failing after 2s
25 lines
721 B
Python
25 lines
721 B
Python
"""Maigret"""
|
|
|
|
__title__ = 'Maigret'
|
|
__package__ = 'maigret'
|
|
__author__ = 'Soxoj'
|
|
__author_email__ = 'soxoj@protonmail.com'
|
|
|
|
|
|
from .__version__ import __version__
|
|
try:
|
|
from .checking import maigret as search
|
|
except ImportError as e:
|
|
raise ImportError(
|
|
"Missing required dependency while starting Maigret.\n\n"
|
|
"If installed from PyPI:\n"
|
|
" pip install -U maigret\n\n"
|
|
"If running from a cloned repository:\n"
|
|
" pip install -e .\n\n"
|
|
"Then run Maigret as:\n"
|
|
" python -m maigret <username>"
|
|
) from e
|
|
from .maigret import main as cli
|
|
from .sites import MaigretEngine, MaigretSite, MaigretDatabase
|
|
from .notify import QueryNotifyPrint as Notifier
|