Skip to main content

An API for reading comic archives

Project description

Comicbox

Comicbox is a comic book archive metadata reader and writer. It reads CBR and CBZ 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

comicbox-0.5.0.tar.gz (63.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comicbox-0.5.0-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file comicbox-0.5.0.tar.gz.

File metadata

  • Download URL: comicbox-0.5.0.tar.gz
  • Upload date:
  • Size: 63.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.0 Linux/5.13.0-1021-aws

File hashes

Hashes for comicbox-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e4a010fe4119961eede0a2eec8fe60b6fb7541ed5ec73b4de72c74c797a8ee4e
MD5 9726185e21f1e6848df9855f0d6133e1
BLAKE2b-256 b78ffc09d17aa328ae6198735b3ac42ddea39900d005c08cbbade528067fb210

See more details on using hashes here.

File details

Details for the file comicbox-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: comicbox-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.0 Linux/5.13.0-1021-aws

File hashes

Hashes for comicbox-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd10c87021392214b8b39d9d2c5dc3fd0a340f01e202263b26029d7bfda31be5
MD5 9b4dfa6097b3ac98aee50e3474d56734
BLAKE2b-256 35222958cd955f882b6b097ffa05f278ea64202b7d7ec2239466d4f8ae4e52fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page