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.4.0.tar.gz (63.6 MB view details)

Uploaded Source

Built Distribution

comicbox-0.4.0-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: comicbox-0.4.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-1017-aws

File hashes

Hashes for comicbox-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c547a657e7b1c05a0f10c4ffb34ad39c6e592abca455c5fe8a9e8f008d06b4fe
MD5 32083a87c66f0a0fde9220aa737c865a
BLAKE2b-256 8c7360eb73f3f8d17aeb8241c6376fdeda7277dc0904654e0a1bea7e49f9dad4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for comicbox-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a15af942a56b677658fb8d810a51eca3e51281380d9e5d1b2c7bc7eb0afac06
MD5 24d571d63897f31a217b8fb17f8e56f0
BLAKE2b-256 eb722ec31b59cbc095967986999c49403c2b687d82d91ad311e9e34253bcb00a

See more details on using hashes here.

Supported by

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