Skip to main content

Unified, type-safe access to web archive APIs.

Project description

PyPi CI Code coverage Python Issues Commit activity Downloads License

🗃️ 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

web-archive-api-0.1.7.tar.gz (13.8 kB view hashes)

Uploaded Source

Built Distribution

web_archive_api-0.1.7-py3-none-any.whl (11.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page