Skip to main content

A simple Python wrapper for the capturing service

Project description


A simple Python wrapper for the capturing service.

PyPI version Build Status Coverage Status


pipenv install archiveis

Python Usage

Import it.

>>> import archiveis

Capture a URL.

>>> archive_url = archiveis.capture("")

See where it's stored.

>>> print archive_url

If a URL has been recently cached, may return the URL to that page rather than conduct a new capture.

Command-line usage

The Python library is also installed as a command-line interface. You can run it from your terminal like so:


The command has the same options as the Python API, which you can learn about from its help output.

$ archiveis --help
Usage: archiveis [OPTIONS] URL

  Archives the provided URL using the capturing service.

  -ua, --user-agent TEXT  User-Agent header for the web request
  --help                  Show this message and exit.


Install dependencies for development.

pipenv install --dev

Run tests.

make test

Ship new version to PyPI

make ship

Developing the CLI

The command-line interface is implemented using Click and setuptools. To install it locally for development inside your virtual environment, run the following installation command, as prescribed by the Click documentation.

pip install --editable .

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

archiveis-0.0.9.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

archiveis-0.0.9-py2.py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 2 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