Skip to main content

ZIM file iterator

Project description

ZIM Scan

Minimal ZIM file reader, designed for article streaming.

Getting Started

Install using pip:

pip install zimscan

Or from Git repository, for latest version:

pip install -U git+https://gitlab.com/jojolebarjos/zimscan.git

Iterate over a records, which are binary file-like objects:

from zimscan import Reader

with Reader(open('wikipedia_en_all_nopic_2019-10.zim', 'rb')) as reader:
    for record in reader:
        data = record.read()
        ...

Links

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 zimscan, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size zimscan-0.1.0.tar.gz (4.0 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