Unified, type-safe access to web archive APIs.
Project description
🗃️ web-archive-api
Unified, type-safe access to web archive APIs.
Installation
Install the package from PyPI:
pip install web-archive-api
Usage
Web archives offer two main APIs: the CDX API to list available captures and the Memento API to download individual captures.
CDX API
TODO
Memento API
TODO
Development
To build this package and contribute to its development you need to install the build
, and setuptools
and wheel
packages:
pip install build setuptools wheel
(On most systems, these packages are already pre-installed.)
Installation
Install package and test dependencies:
pip install -e .[tests]
Testing
Verify your changes against the test suite to verify.
flake8 web_archive_api # Code format
mypy web_archive_api # Static typing
pylint web_archive_api # LINT errors
bandit -c pyproject.toml -r web_archive_api # Security
pytest web_archive_api # Unit tests
Please also add tests for your newly developed code.
Build wheels
Wheels for this package can be built with:
python -m build
Support
If you hit any problems using this package, please file an issue. We're happy to help!
License
This repository is released under the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file web-archive-api-0.1.6.tar.gz
.
File metadata
- Download URL: web-archive-api-0.1.6.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f028a2490adb5e5640cb91dce3d79da550d077ae7904103df986ee623a4bd73e |
|
MD5 | 117a329e9b64e533297668b47873e807 |
|
BLAKE2b-256 | f4b308a9cdafcc68c8da320b4a200783c73bc7a85d01a65e1c12caed2f853e9d |
File details
Details for the file web_archive_api-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: web_archive_api-0.1.6-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 602844a25f3dbaff25849df406f290e84b68cf9c11a3899aa47af2641a19dee2 |
|
MD5 | c15b39c0f239402ecc810db94e304d79 |
|
BLAKE2b-256 | 832561b908aa50099faa3e3bcdaa5a29c337f23a9e80722396a49bfe3606c274 |