An API for reading comic archives
Project description
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, the ComicBookInfo format and CoMet format.
⌨️ Usage
API
Comicbox's primary purpose is as a library for other programs with comicbox.comic_archive as the primary interface.
Console
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
The environment variables are the variable name prefixed with COMICBOX_
. (e.g. COMICBOX_COMICINFOXML=0)
Log Level
change logging level:
LOGLEVEL=ERROR comicbox -p <path>
🛠 Development
run
./setup.sh
to get started.
To run the code you've checked out
./run.sh -h
will run the comicbox cli.
I'll only merge branches to develop that pass
./lint.sh
./test.sh
./build.sh
And I might require tests for significant new code.
You may automatically fix most simple linting errors with
./fix-linting.sh
🤔 Motivation
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.
👍🏻 Alternatives
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.
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
File details
Details for the file comicbox-0.6.5.tar.gz
.
File metadata
- Download URL: comicbox-0.6.5.tar.gz
- Upload date:
- Size: 78.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.0 Linux/5.15.0-1030-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 490dd9225c217b5feed118a5fd97a63aaa9a27a541e5f2191d2abed88d81ef20 |
|
MD5 | 4a5c6a2d1dece95e1f52e8d01479bfbe |
|
BLAKE2b-256 | af25c85fe7dec5866b443ddcc455e47aefbd91af35d5a8c910c3f19bce51f1fe |
File details
Details for the file comicbox-0.6.5-py3-none-any.whl
.
File metadata
- Download URL: comicbox-0.6.5-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.0 Linux/5.15.0-1030-aws
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a2080d1bcb064bdb34519e88cbabc2e1575adabb8098cd710a71a5b7906b9fe |
|
MD5 | 550154bd23e9c33d0e9de16ca2ffa596 |
|
BLAKE2b-256 | 688f83c75b2f03166bbc534685a85498e8aa89c93ddc52adcd704da909ff35d7 |