warc3-wet-0.2.5
توضیحات
Python library to work with ARC and WARC files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | warc3-wet-0.2.5 |
| نام | warc3-wet |
| نسخه کتابخانه | 0.2.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Anand Chitipothu, Noufal Ibrahim, Ryan Chartier, Jan Pieter Bruins Slot, Almer S. Tigelaar, Willian Zhang |
| ایمیل نویسنده | info@archive.org |
| آدرس صفحه اصلی | https://github.com/Willian-Zhang/warc3 |
| آدرس اینترنتی | https://pypi.org/project/warc3-wet/ |
| مجوز | GPLv2 |
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.
http://bibnum.bnf.fr/WARC/
This `warc` library makes it very easy to work with WARC files.::
import warc
with warc.open("test.warc") as f:
for record in f:
print(record['WARC-Target-URI'], record['Content-Length'])
And WET files.::
import warc
with warc.open("test.warc.wet") as f:
for record in f:
print(record['WARC-Target-URI'], record['Content-Length'])
Documentation
-------------
The documentation of the warc library is available at http://warc.readthedocs.org/.
Apart from the install from pip, which will not work for this warc3 version, the
interface as described there is unchanged.
License
-------------
This software is licensed under GPL v2. See LICENSE_ file for details.
.. LICENSE: http://github.com/internetarchive/warc/blob/master/LICENSE
Authors
-------------
Original Python2 Versions:
* Anand Chitipothu
* Noufal Ibrahim
Python3 Port:
* Ryan Chartier
* Jan Pieter Bruins Slot
* Almer S. Tigelaar
* Sean MacAvaney (3.10)
WET and seek support
* Willian Zhang
Change Log
-------------
0.2.4
Python 3.10 compatibility (thanks to @seanmacavaney)
0.2.3
Support seeking in WARC/WET
0.2.2
Allow WET parse
older...
see https://github.com/internetarchive/warc
نحوه نصب
نصب پکیج whl warc3-wet-0.2.5:
pip install warc3-wet-0.2.5.whl
نصب پکیج tar.gz warc3-wet-0.2.5:
pip install warc3-wet-0.2.5.tar.gz