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
pylint web_archive_api  # LINT errors
mypy web_archive_api  # Static typing
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.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

web_archive_api-0.1.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file web-archive-api-0.1.0.tar.gz.

File metadata

  • Download URL: web-archive-api-0.1.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for web-archive-api-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e8c8b3af467c26ac3a24ea161426700dca8d52828292418562f75b24bbbf13d0
MD5 d250e5c03fc95d37273f17f9a1642570
BLAKE2b-256 c142974cd4cd0a488b4283e1df70c0eae16431719afdc8dc9dffb89f0180f6f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for web_archive_api-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d3db933e04833bd12da2ae7a0567b40d4206115bbd8da3a5c8faa9c718cc681
MD5 fcd339f3a3eeb57b0d0641db0fe4f3e9
BLAKE2b-256 1e76f3e75c267151d34a21f0649c85935ce9eae6d43afd8bcdee6de0acf034d2

See more details on using hashes here.

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