Skip to main content

Module for reading Apple's .webarchive files

Project description

**pywebarchive** is a Python module for reading Apple's `.webarchive` files. It is currently in the very early stages of development.

It provides the `webarchive` module, which consists of two main classes:

* `WebArchive`, to read `.webarchive` files
* `Extractor`, to extract a `WebArchive` to a standard HTML document

Individual resources (i.e., files) in a `WebArchive` are represented by `WebResource` objects.

pywebarchive requires Python 3; there are no current plans to add Python 2 support.

Example usage:

```python
from webarchive import WebArchive, Extractor

archive = WebArchive("example.webarchive")

extractor = Extractor(archive)
extractor.extract("example.html")
```

For detailed documentation, try `python -m pydoc webarchive`.


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

pywebarchive-0.1.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

pywebarchive-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file pywebarchive-0.1.0.tar.gz.

File metadata

  • Download URL: pywebarchive-0.1.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.4

File hashes

Hashes for pywebarchive-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cc42b4b0d8e59273a4ab3ec94aa61a1b70e0ed813d4bf25c1799a0b3e70d2769
MD5 ce930f63f41ed6fe08a280ffc31a6c6f
BLAKE2b-256 8577513f060bc3ba63fc44bd0f54f87057996e7b27e82fb0ad8df3b91e17f1d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pywebarchive-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.4

File hashes

Hashes for pywebarchive-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 150653e554adce9afa527c25addca586992df51523763e659cfbfa695cbc4610
MD5 3149d6b9542d4712874e3c9ada2c1203
BLAKE2b-256 937a7e05e90830c70d6dfe0e8fc2279f34eacc5d07024d09553f50f86c84d597

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