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.)

Then, install the package and test dependencies:

pip install -e .[tests]

You can now verify your changes against the test suite.

ruff check .                   # Code format and LINT
mypy .                         # Static typing
bandit -c pyproject.toml -r .  # Security
pytest .                       # 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-1.1.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

web_archive_api-1.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file web_archive_api-1.1.0.tar.gz.

File metadata

  • Download URL: web_archive_api-1.1.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for web_archive_api-1.1.0.tar.gz
Algorithm Hash digest
SHA256 31efa3dfd3b30e318db31ee333475eccc1ffcea74282a51f114bee437b95ccdf
MD5 fe864b87afa0c071b8b1050ecb9b509d
BLAKE2b-256 5b5d3c8ad0d12f49c6fcd6259c9fccbf5f1c728b2cf293ce2cdffddeaa8f8317

See more details on using hashes here.

Provenance

The following attestation bundles were made for web_archive_api-1.1.0.tar.gz:

Publisher: ci.yml on janheinrichmerker/web-archive-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file web_archive_api-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for web_archive_api-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16199fda18d6eb06e48e67f1f6591138def95f2a8e9fe3f84ad72c0daac792d8
MD5 9979949d3d92c02a33c973ae3900e9e6
BLAKE2b-256 4327419d6eda05f5a4e24756dfae463ff4acf8f541f4450cb14b0b450928b99a

See more details on using hashes here.

Provenance

The following attestation bundles were made for web_archive_api-1.1.0-py3-none-any.whl:

Publisher: ci.yml on janheinrichmerker/web-archive-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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