Skip to main content

Make ZIM file from WikiHow articles

Project description

wikihow

wikihow2zim is an OpenZIM scraper to create offline versions of wikiHow websites, in all its supported languages.

CodeFactor Docker License: GPL v3 PyPI version shields.io

Usage

wikihow2zim works off a language version that you must provide via the --language argument. The list of supported languages is visible in the --help message.

Docker

docker run -v my_dir:/output openzim/wikihow wikihow2zim --help

Python

wikihow2zim is a Python3 (3.6+) software. If you are not using the Docker image, you are advised to use it in a virtual environment to avoid installing software dependencies on your system.

python3 -m venv env
source env/bin/activate

# using published version
pip3 install wikihow2zim
wikihow2zim --help

# running from source
python wikihow2zim/ --help

Call deactivate to quit the virtual environment.

See requirements.txt for the list of python dependencies.

Contributing

All contributions are welcome!

Please open an issue on Github and/or submit a Pull-request.

Guidelines

  • Don't take assigned issues. Comment if those get staled.
  • If your contribution is far from trivial, open an issue to discuss it first.
  • Ensure your code passed black formatting, isort and flake8 (88 chars)

We have a pre-commit hook ready for you. Install it with pip install pre-commit && pre-commit install

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wikihow2zim-1.0.2.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

wikihow2zim-1.0.2-py3-none-any.whl (2.7 MB view details)

Uploaded Python 3

File details

Details for the file wikihow2zim-1.0.2.tar.gz.

File metadata

  • Download URL: wikihow2zim-1.0.2.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.6

File hashes

Hashes for wikihow2zim-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f632fbdab2f1db7c321217dbd0895e033ee363c40d4279e9544ce81779c299a8
MD5 3f86e2b44961f708fa519d77179635b9
BLAKE2b-256 723680915e01e408fd16b4046a73c132b33bec710f61de8fd87207916ca02a99

See more details on using hashes here.

File details

Details for the file wikihow2zim-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: wikihow2zim-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.6

File hashes

Hashes for wikihow2zim-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 352b13a805e9d16aeeacb48ff8e897917f8105ea53234832ed3f901cbbda7d64
MD5 960d478a53fe6633c7b92c1843189588
BLAKE2b-256 0eb62117315c1eae8c52fb60d28020861b5142ab10ff7093e860f89f4531f4f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page