Fork of https://github.com/akamhy/waybackpy
Wayback Machine API interface & a command-line tool
archive-webpagearchive-webpagescdx-apiinternet-archiveinternet-archivingosintsavepagenowwayback-machinewayback-machine-apiwayback-machine-pythonweb-archivingwebarchiving
ca0821a466
* move docs to wiki * Update README.md * Update setup.py |
||
---|---|---|
.github/workflows | ||
assets | ||
tests | ||
waybackpy | ||
_config.yml | ||
.gitignore | ||
.pep8speaks.yml | ||
.pyup.yml | ||
.whitesource | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
requirements.txt | ||
setup.cfg | ||
setup.py |
Python package & CLI tool that interfaces with the Wayback Machine API.
Table of contents
Installation
Using pip:
pip install waybackpy
or direct from this repository using git.
pip install git+https://github.com/akamhy/waybackpy.git
Tests
To run tests locally:
- Install or update the testing/coverage tools
pip install codecov pytest pytest-cov -U
- Inside the repository run the following commands
pytest --cov=waybackpy tests/
- To report coverage run
bash <(curl -s https://codecov.io/bash) -t SECRET_CODECOV_TOKEN
You can find the tests here.
Packaging
-
Increment version.
-
Build package
python setup.py sdist bdist_wheel
. -
Sign & upload the package
twine upload -s dist/*
.
License
Released under the MIT License. See license for details.