comicbox-0.6.7
توضیحات
An API for reading comic archives
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | comicbox-0.6.7 |
| نام | comicbox |
| نسخه کتابخانه | 0.6.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | AJ Slater |
| ایمیل نویسنده | aj@slater.net |
| آدرس صفحه اصلی | https://github.com/ajslater/comicbox |
| آدرس اینترنتی | https://pypi.org/project/comicbox/ |
| مجوز | LGPL-3.0-only |
# Comicbox
A comic book archive metadata reader and writer. It reads CBZ, CBR, and CBT
archives and writes CBZ archives. It reads and writes the
[ComicRack comicinfo.xml format](https://wiki.mobileread.com/wiki/ComicRack#Metadata),
the [ComicBookInfo format](https://code.google.com/archive/p/comicbookinfo/)
and [CoMet format](https://github.com/wdhongtw/comet-utils).
## ⌨️ <a href="usage">Usage</a>
### API
Comicbox's primary purpose is as a library for other programs with [comicbox.comic_archive](https://github.com/ajslater/comicbox/blob/main/comicbox/comic_archive.py) as the primary interface.
### Console
```sh
comicbox -h
```
to use the CLI.
### Config
comicbox accepts command line arguments but also an optional config file
and environment variables.
The variables have defaults specified in
[a default yaml](https://github.com/ajslater/comicbox/blob/master/comicbox/config_default.yaml)
The environment variables are the variable name prefixed with `COMICBOX_`. (e.g. COMICBOX_COMICINFOXML=0)
#### Log Level
change logging level:
```sh
LOGLEVEL=ERROR comicbox -p <path>
```
## 🛠 <a href="development">Development</a>
run
```sh
./setup.sh
```
to get started.
To run the code you've checked out
```sh
./run.sh -h
```
will run the comicbox cli.
I'll only merge branches to develop that pass
```sh
./lint.sh
./test.sh
./build.sh
```
And I might require tests for significant new code.
You may automatically fix most simple linting errors with
```sh
./fix-linting.sh
```
## Dependencies
Comicbox works without any binary dependencies but if [unrar-cffi](https://pypi.org/project/unrar-cffi/) is available
it will use that instead of Python's native rarfile.
## 🤔 <a href="motivation">Motivation</a>
I didn't like Comictagger's API, so I built this for myself as an educational exercise and to use as a library for [Codex comic reader](https://github.com/ajslater/codex/).
## 👍🏻 <a href="alternative">Alternatives</a>
[Comictagger](https://github.com/comictagger/comictagger) is a better alternative for most purposes. It does everything Comicbox does but also automatically tags comics with the ComicVine API and has a pretty nice desktop UI.
نیازمندی
| مقدار | نام |
|---|---|
| >=1.1.8,<2.0.0 | ansicolors |
| >=2.0.0,<3.0.0 | confuse |
| >=6.2.0,<7.0.0 | deepdiff6 |
| >=0.7.1,<0.8.0 | defusedxml |
| >=22.1.3,<23.0.0 | pycountry |
| >=1.15,<2.0 | parse |
| >=4.0,<5.0 | rarfile |
| >=0.2.0,<0.3.0 | zipfile-deflate64 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl comicbox-0.6.7:
pip install comicbox-0.6.7.whl
نصب پکیج tar.gz comicbox-0.6.7:
pip install comicbox-0.6.7.tar.gz