CLI to manage books on Likebook e-readers via WiFi Book Transfer
Project description
Likebook WiFi Book Uploader
CLI to manage books on a Likebook (or compatible) e-reader running WiFi Book Transfer. List, download, upload, and delete books from the command line.
Requirements
- Python 3.8+
- E-reader with WiFi Book Transfer enabled and on the same network
Installation
With pipx (recommended):
pipx install .
Or from the git repository:
pipx install git+https://github.com/pablogventura/likebook-wifi-book-uploader.git
With pip:
pip install .
Without installing (run from source):
pip install -r requirements.txt
python likebook_wifi_book_uploader.py
Usage
If no host is specified, the script scans your local network for the WiFi Book Transfer server.
# List books (auto-discovers server)
likebook-wifi-book-uploader
# Use specific IP
likebook-wifi-book-uploader -H 192.168.1.196
# Download book by index
likebook-wifi-book-uploader -g 3
# Download book by name
likebook-wifi-book-uploader -g "book.pdf"
# Download to specific directory
likebook-wifi-book-uploader -g 1 -o ~/books
# Upload file(s)
likebook-wifi-book-uploader -u book.pdf
likebook-wifi-book-uploader -u book1.pdf book2.epub
# Delete book (asks confirmation)
likebook-wifi-book-uploader -d 5
likebook-wifi-book-uploader -d "book.pdf"
# Full help
likebook-wifi-book-uploader -h
Options
| Option | Description |
|---|---|
-H, --host IP |
Server IP (auto-discovers on local network if omitted) |
-g, --download NAME_OR_INDEX |
Download book by name or index |
-o, --output DIR |
Output directory for downloads (default: current) |
-u, --upload FILE... |
Upload one or more files |
-d, --delete NAME_OR_INDEX |
Delete book by name or index |
-h, --help |
Show help |
Supported formats
EPUB, TXT, PDF, MOBI, AZW, AZW3, FB2, DOC, DOCX, HTM, HTML, CBZ, CBT, CBR, JVU, DJVU, DJV, RTF, ZIP, RAR
Publishing to PyPI
pip install build twine
./publish.sh # Publish to PyPI
./publish.sh --test # Publish to Test PyPI
Create a PyPI API token at https://pypi.org/manage/account/token/ and configure twine (e.g. ~/.pypirc or environment variables).
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file likebook_wifi_book_uploader-0.1.0.tar.gz.
File metadata
- Download URL: likebook_wifi_book_uploader-0.1.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6c90899f30ed1e606f11b642dd1a1921d822d55b96a9ccde138162a637a55ae
|
|
| MD5 |
550a020a1b88d7e03b54abe29074a49f
|
|
| BLAKE2b-256 |
d3730e028ce5bb05336eaa6e1c8579dee2da2f338c19cdc59bafad559150f811
|
File details
Details for the file likebook_wifi_book_uploader-0.1.0-py3-none-any.whl.
File metadata
- Download URL: likebook_wifi_book_uploader-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1d81e3fb38d5f10adbb10760c82d8c7aafe53f538580fd24d574cccda34524f
|
|
| MD5 |
d73ef7344509af24c4226c18f46f485a
|
|
| BLAKE2b-256 |
e423aa255da8431ab7529eeaaf3fe223e8ca01f256e1415223f85854ead4886d
|