python-libzim

(β˜… 107)

Libzim binding for Python: read/write ZIM files in Python

  • .coveragerc
  • .gitignore
  • .pre-commit-config.yaml
  • .readthedocs.yaml
  • CHANGELOG.md
  • CONTRIBUTING.md
  • LICENSE
  • MANIFEST.in
  • mkdocs.yml
  • py.typed
  • pyproject.toml
  • README.md
  • setup.py
  • tasks.py

# Installation Guide

1. Get the code
git clone https://github.com/openzim/python-libzim

Downloads the entire project code from GitHub to your computer.

cd python-libzim

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • Python 3 Python is required to use pip.
  • Homebrew A package manager for macOS/Linux.
  • APT (Debian/Ubuntu 계열) Built into Debian/Ubuntu-based Linux distributions.
pip install libzim

Installs the package published on PyPI directly β€” no need to clone the source.

brew install libzim # macOS

Installs the pre-built package via Homebrew β€” no source build required.

apt-get install libzim-devel # debian

Installs directly from the APT package repository (Debian/Ubuntu-based).

βœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install libzim

Installs the package published on PyPI directly β€” no need to clone the source.

python3 -m build

Runs the Python script (or module).

USE_SYSTEM_LIBZIM=1 python3 -m build --wheel

Runs the Python script (or module).

python3 -m build --wheel

Runs the Python script (or module).

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation