* fix: CI yml name * add: mypy configuraion * add: type annotation to waybackpy modules * add: type annotation to test modules * fix: mypy command * add: types-requests to dev deps * fix: disable max-line-length * fix: move pytest.ini into setup.cfg * add: urllib3 to deps * fix: Retry (ref: https://github.com/python/typeshed/issues/6893) * fix: f-string * fix: shorten long lines * add: staticmethod decorator to no-self-use methods * fix: str(headers)->headers_str * fix: error message * fix: revert "str(headers)->headers_str" and ignore assignment CaseInsensitiveDict with str * fix: mypy error
34 lines
977 B
Python
34 lines
977 B
Python
__title__ = "waybackpy"
|
|
__description__ = (
|
|
"Python package that interfaces with the Internet Archive's Wayback Machine APIs. "
|
|
"Archive pages and retrieve archived pages easily."
|
|
)
|
|
__url__ = "https://akamhy.github.io/waybackpy/"
|
|
__version__ = "3.0.2"
|
|
__download_url__ = f"https://github.com/akamhy/waybackpy/archive/{__version__}.tar.gz"
|
|
__author__ = "Akash Mahanty"
|
|
__author_email__ = "akamhy@yahoo.com"
|
|
__license__ = "MIT"
|
|
__copyright__ = "Copyright 2020-2022 Akash Mahanty et al."
|
|
|
|
from .availability_api import WaybackMachineAvailabilityAPI
|
|
from .cdx_api import WaybackMachineCDXServerAPI
|
|
from .save_api import WaybackMachineSaveAPI
|
|
from .wrapper import Url
|
|
|
|
__all__ = [
|
|
"__author__",
|
|
"__author_email__",
|
|
"__copyright__",
|
|
"__description__",
|
|
"__license__",
|
|
"__title__",
|
|
"__url__",
|
|
"__download_url__",
|
|
"__version__",
|
|
"WaybackMachineAvailabilityAPI",
|
|
"WaybackMachineCDXServerAPI",
|
|
"WaybackMachineSaveAPI",
|
|
"Url",
|
|
]
|