Skip to main content

Python library to work with ARC and WARC files

Project description

warc3-wet: Python3 library to work with WARC and WET files

Note: This is a fork of the original (now dead) warc repository.

WARC (Web ARChive) is a file format for storing web crawls.

This `warc` library makes it very easy to work with WARC files.::

import warc
with"test.warc") as f:
for record in f:
print(record['WARC-Target-URI'], record['Content-Length'])

And WET files.::

import warc
with"test.warc.wet") as f:
for record in f:
print(record['WARC-Target-URI'], record['Content-Length'])


The documentation of the warc library is available at

Apart from the install from pip, which will not work for this warc3 version, the
interface as described there is unchanged.


This software is licensed under GPL v2. See LICENSE_ file for details.



Original Python2 Versions:

* Anand Chitipothu
* Noufal Ibrahim

Python3 Port:

* Ryan Chartier
* Jan Pieter Bruins Slot
* Almer S. Tigelaar

* Willian Zhang

Change Log
Support seeking in WARC/WET

Allow WET parse


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for warc3-wet, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size warc3_wet-0.2.3-py3-none-any.whl (13.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size warc3-wet-0.2.3.tar.gz (17.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page