Difference between revisions of "Genwiki2024"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
|title=Genwiki | |title=Genwiki | ||
|url=https://github.com/WolfgangFahl/genwiki2024 | |url=https://github.com/WolfgangFahl/genwiki2024 | ||
− | |version=0.0. | + | |version=0.0.4 |
|description=Genealogy Semantification | |description=Genealogy Semantification | ||
− | |date= | + | |date=2025-02-27 |
|since=2024-08-15 | |since=2024-08-15 | ||
}} | }} | ||
=tickets= | =tickets= | ||
{{pip|genwiki2024}} | {{pip|genwiki2024}} | ||
+ | |||
+ | == Usage == | ||
+ | <source lang='bash' highlight='1'> | ||
+ | djvuconv -h | ||
+ | usage: djvuconv [-h] [--base-path BASE_PATH] [--batch-size BATCH_SIZE] | ||
+ | --command {catalog,convert,thumbnails,dbupdate} [-d] | ||
+ | [--db-path DB_PATH] [-f] [--limit LIMIT] | ||
+ | [--max-errors MAX_ERRORS] [--max-workers MAX_WORKERS] | ||
+ | [--output-path OUTPUT_PATH] [--serial] [--sort {asc,desc}] | ||
+ | [-v] [--url URL] | ||
+ | |||
+ | Process DjVu files | ||
+ | |||
+ | options: | ||
+ | -h, --help show this help message and exit | ||
+ | --base-path BASE_PATH | ||
+ | Base path for DjVu files | ||
+ | --batch-size BATCH_SIZE | ||
+ | Number of pages to process in each batch (default: | ||
+ | 100) | ||
+ | --command {catalog,convert,thumbnails,dbupdate} | ||
+ | Command to execute | ||
+ | -d, --debug Enable debugging | ||
+ | --db-path DB_PATH Path to the database | ||
+ | -f, --force Force recreation | ||
+ | --limit LIMIT Maximum number of pages to process | ||
+ | --max-errors MAX_ERRORS | ||
+ | Maximum allowed error percentage before skipping | ||
+ | database update | ||
+ | --max-workers MAX_WORKERS | ||
+ | Maximum number of worker threads (default: CPU count * | ||
+ | 4) | ||
+ | --output-path OUTPUT_PATH | ||
+ | Path for PNG files | ||
+ | --serial Use serial processing - parallel is default | ||
+ | --sort {asc,desc} Sort by page count (asc=smallest first) | ||
+ | -v, --verbose Enable debugging | ||
+ | --url URL Process a single DjVu file (only valid in convert | ||
+ | mode) | ||
+ | </source> |
Revision as of 18:44, 27 February 2025
OsProject
OsProject | |
---|---|
id | Genwiki2024 |
state | active |
owner | WolfgangFahl |
title | Genwiki |
url | https://github.com/WolfgangFahl/genwiki2024 |
version | 0.0.4 |
description | Genealogy Semantification |
date | 2025-02-27 |
since | 2024-08-15 |
until |
tickets
Installation
pip install genwiki2024
# alternatively if your pip is not a python3 pip
pip3 install genwiki2024
# local install from source directory of genwiki2024
pip install .
upgrade
pip install genwiki2024 -U
# alternatively if your pip is not a python3 pip
pip3 install genwiki2024 -U
Usage
djvuconv -h
usage: djvuconv [-h] [--base-path BASE_PATH] [--batch-size BATCH_SIZE]
--command {catalog,convert,thumbnails,dbupdate} [-d]
[--db-path DB_PATH] [-f] [--limit LIMIT]
[--max-errors MAX_ERRORS] [--max-workers MAX_WORKERS]
[--output-path OUTPUT_PATH] [--serial] [--sort {asc,desc}]
[-v] [--url URL]
Process DjVu files
options:
-h, --help show this help message and exit
--base-path BASE_PATH
Base path for DjVu files
--batch-size BATCH_SIZE
Number of pages to process in each batch (default:
100)
--command {catalog,convert,thumbnails,dbupdate}
Command to execute
-d, --debug Enable debugging
--db-path DB_PATH Path to the database
-f, --force Force recreation
--limit LIMIT Maximum number of pages to process
--max-errors MAX_ERRORS
Maximum allowed error percentage before skipping
database update
--max-workers MAX_WORKERS
Maximum number of worker threads (default: CPU count *
4)
--output-path OUTPUT_PATH
Path for PNG files
--serial Use serial processing - parallel is default
--sort {asc,desc} Sort by page count (asc=smallest first)
-v, --verbose Enable debugging
--url URL Process a single DjVu file (only valid in convert
mode)