Skip to main content

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://github.com/jojolebarjos/zimscan.git

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

from zimscan import Reader

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

Metadata

Release files for zimscan 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zimscan 0.2.0
File Size Uploaded Provenance Actions
zimscan-0.2.0.tar.gz 6.0 kB Without provenance Details for zimscan-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zimscan 0.2.0
File Interpreter ABI Platform Actions
zimscan-0.2.0-py3-none-any.whl Python 3 none any Details for zimscan-0.2.0-py3-none-any.whl

Total release size: 13.0 kB

Release files / zimscan-0.2.0.tar.gz

Download URL zimscan-0.2.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3e2b8c60532dcb9834c2b35a2ef1743d97d8074a95df1c36d921d9a1d007645d
BLAKE2b-256 checksum
How to use checksums
f5059dff0428a4e51d3b63b321f07ccea20dec8ba5c9345458de5a9425fe2ef8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.13 Windows/10

Release files / zimscan-0.2.0-py3-none-any.whl

Download URL zimscan-0.2.0-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0511fd14048cb595795d967c1549ed03dc5f36d73885bca71135ad72a2e9de3a
BLAKE2b-256 checksum
How to use checksums
b0a9258ab47a503e312aff7138fca28852eadde9e6410e28ceba1907fae4fc97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.9.13 Windows/10

Security for zimscan 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page