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.
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
Built Distribution
File details
Details for the file wikihow2zim-1.0.1.tar.gz
.
File metadata
- Download URL: wikihow2zim-1.0.1.tar.gz
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 281b9f147771d0713fecf805333b70f292f8b6a6d0193b2b161e93fc2e335921 |
|
MD5 | 6c321f920862a598608c01d67c3e32ee |
|
BLAKE2b-256 | a066271476868f1bab88f9e327e2a0a8d06fa28ce49badd906f20667b9df7612 |
File details
Details for the file wikihow2zim-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: wikihow2zim-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501fbb60cbb5f773de3c9c3ddd6664ab7e4a1fefe85b28220398a6d98e7ce9c6 |
|
MD5 | 831e135e4a35ab4ad5bfd657498012e9 |
|
BLAKE2b-256 | c8dafac291e8f715b2e090d8d8fda1aabfafd079701856b73edc8421034b532a |