ca0821a466
* move docs to wiki * Update README.md * Update setup.py
3.1 KiB
3.1 KiB
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.