-
Notifications
You must be signed in to change notification settings - Fork 35
Home
waybackpy is an open-source python package & command-line tool that interfaces with the Internet Archive's Wayback Machine API.
waybackpy can be used as a python library and a CLI application. Choose one of the following pages based on your requirements.
To cite waybackpy visit https://doi.org/10.5281/zenodo.3977276.
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.
-
Increment version in
waybackpy/waybackpy/__version__.py
. -
Change the download_url in
waybackpy/setup.py
. -
Create release at https://github.com/akamhy/waybackpy/releases/new, fill the incremented version in 'Tag version' and version prepended with 'v' in 'Release Title'.
Fill 'Describe the Release' with changes made and features added. Finally, hit the green 'Publish Release' button. -
The workflow at https://github.com/akamhy/waybackpy/blob/master/.github/workflows/python-publish.yml will do the rest for you.
waybackpy is released under the MIT License.