KOHilites
A lightweight command line tool to extract and save highlights and notes made on KOReader.
KOHilites takes metadata.*.lua files, extracts the content of each highlight or note, and saves them as formatted markdown files.
Installation
Install this package from PyPi using
pip install kohilites
Quick Start
KOHilites is run from the command line. It can import and process multiple metadatafiles from a directory or single files if a specific path is given. The options available are:
--input: Path to a single document's metadata or a directory containing metadata from several documents.--output: Directory to save parsed document metadata. If not given, outputs are saved to the root input directory. Defaults to blank.
Examples
When given a directory input, KOHilites will search that directory and all its subdirectories for metadata files and parse them. It will save all of the outputs to the output directory (not copying any nested structure).
$ kohilites --input directory/containing/multiple/metadata/files --output directory/to/save/highlights
When given the path to a file, KOHilites will parse only that file. If no output directory is given, the output is saved to the same directory that contained the input file.
$ kohilites --input path/to/metatdata.epub.lua
Metadata
Release files for kohilites 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kohilites-0.0.1.tar.gz | 7.1 kB | Without provenance | Details for kohilites-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kohilites-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for kohilites-0.0.1-py3-none-any.whl |
Total release size: 13.0 kB
Release files / kohilites-0.0.1.tar.gz
| Download URL | kohilites-0.0.1.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
583bb3eae18792e7ca0c058315d9975654b3b293b73f9db5b54aa70fe83b0f7c
|
|
BLAKE2b-256 checksum How to use checksums |
f108f24da1405d624d186b76a1a127eda00ab37d1eb0d6b2bf82330b4f23eee9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / kohilites-0.0.1-py3-none-any.whl
| Download URL | kohilites-0.0.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db6d2da6f63989b99cc8616570bee399816c2c80c8e8040feea2c97af746f9b0
|
|
BLAKE2b-256 checksum How to use checksums |
4f8cf36b0e5757f901abe7dc9159ff05c5e105f7c11f457bfec1109187c121e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for kohilites 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.