python-libzim
Libzim binding for Python: read/write ZIM files in Python
File Explorer
Download Latest Version (.zip)- CI-wheels.yaml
- Publish.yaml
- QA.yaml
- Tests.yaml
- FUNDING.yml
- stale.yml
- openzim.png
- generate_api_nav.py
- changelog.md
- CONTRIBUTING.md
- index.md
- LICENSE.md
- __init__.pyi
- libwrapper.cpp
- libwrapper.h
- libzim.pyx
- reader.pyi
- search.pyi
- suggestion.pyi
- version.pyi
- writer.pyi
- zim.pxd
- test_libzim_creator.py
- test_libzim_reader.py
- test_libzim_version.py
- .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 RecommendedPrerequisites
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
EasyPrerequisites
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
Was this content helpful?
(0 ratings)
