make your epub books vertical or horizontal.
Project description
epubhv
make your epub books vertical or horizontal.
Install
pip install epubhv
or
git clone https://github.com/yihong0618/epubhv.git
cd epubhv && bash ./setup.sh
Use
epubhv a.epub # will generate a file a-v.epub that is vertical
# or
epubhv b.epub --h # will generate a file b-h.epub that is horizontal
# if you also want to translate from `简体 -> 繁体`
epubhv c.epub --convert s2t
# if you also want to translate from `繁体 -> 简体`
epubhv d.epub --h --convert t2s
# or a folder contains butch of epubs
epubhv tests/test_epub # will generate all epub files to epub-v
# you can specify the punctuation style
epubhv e.epub --convert s2t --punctuation auto
Contribution
- Any issues or PRs are welcome.
Development
# install all dependencies
pdm install
# format code
pdm run format
# run the following scripts and make sure all pass before you start a Pull Request
pdm run all
Thanks
- @tommyku --> How to make EPUB ebooks with vertical layout?
- @jiak94 support OpenCC
- @OverflowCat add punctuation styles.
- @jt-wang Type and PDM!
Appreciation
- Thank you, that's enough. Just enjoy it.
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
epubhv-0.3.1.tar.gz
(2.9 MB
view hashes)
Built Distribution
epubhv-0.3.1-py3-none-any.whl
(8.8 kB
view hashes)