A cli工具用于重命名您的电子书。
项目描述
bookpy
重命名您的电子书以实现更好的组织。
支持的文件
目前仅支持pdf文件。
依赖项
Python包
isbnlib
isbntools
click
额外依赖项
基本用法
bookpy [OPTIONS] [SRCS]... SRCS are the books sources (individual files or a directory). If no source is given, the current directory will be taken. Options: --version Show the version and exit. -r, --recursive Get all files recursively from a directory. -t, --template Specify a template with which the books are renamed. Default template is '{short_title} - {main_author} ({year})' -h, --help Show the help and exit.
示例
之前
books/ ├── 97.things.every.programmer.should.know.pdf ├── Algorithms.pdf ├── clean_code.pdf ├── intro algorithms.pdf ├── os - andrew tanenbaum.pdf ├── Refactoring.pdf ├── SoftSkills.pdf └── the_pragmatic_programmer_Andrew_Hunt.pdf
命令
bookpy books/
之后
books/ ├── 97 Things Every Programmer Should Know - Kevlin Henney (2010).pdf ├── Algorithms - Robert Sedgewick.pdf ├── Clean code - Robert C. Martin.pdf ├── Introduction To Algorithms - Thomas H. Cormen (2009).pdf ├── Operating Systems - Andrew S. Tanenbaum (2014).pdf ├── Refactoring - Martin Fowler (1999).pdf ├── Soft Skills - John Z. Sonmez (2014).pdf └── The pragmatic programmer - Andrew Hunt.pdf
安装
使用pip
pip3 install bookpy
手动安装
git clone https://github.com/stsewd/bookpy
cd bookpy
pip3 install -r requirements.txt
pip3 install .
即将推出
根据特定ISBN重命名文件。
线程。
指定单词之间的分隔符。
完整模板支持(每个元素(作者、标题等)的模板)。
指定文本大小写。
支持epub文件。
密集搜索。
项目详情
关闭
bookpy-0.1.2.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 375f3601cc995893837ccd285a2a899cce1e09b1a97b13d5521893a05b106591 |
|
MD5 | 7b2c5cec5833c4d5d157793422a39896 |
|
BLAKE2b-256 | 35f9f048230137160fbd8561bb51379805b205dcd1b237206b6008fc0676caa0 |