Skip to main content

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

comicbox-0.6.0a0.tar.gz (78.9 MB view details)

Uploaded Source

Built Distribution

comicbox-0.6.0a0-py3-none-any.whl (29.3 kB view details)

Uploaded Python 3

File details

Details for the file comicbox-0.6.0a0.tar.gz.

File metadata

  • Download URL: comicbox-0.6.0a0.tar.gz
  • Upload date:
  • Size: 78.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.0 Linux/5.15.0-1021-aws

File hashes

Hashes for comicbox-0.6.0a0.tar.gz
Algorithm Hash digest
SHA256 7a4cc543c041d14716b94ae65068f0c44af41852edd3a69b99bdfff72b6878ea
MD5 7a03e71a3a161a2e792f19bf597ed031
BLAKE2b-256 5a2d219ea89e980b3489bf9a9a35123f8d83dd7257fee8b83f6308df0f2e4105

See more details on using hashes here.

File details

Details for the file comicbox-0.6.0a0-py3-none-any.whl.

File metadata

  • Download URL: comicbox-0.6.0a0-py3-none-any.whl
  • Upload date:
  • Size: 29.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.0 Linux/5.15.0-1021-aws

File hashes

Hashes for comicbox-0.6.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 e170e0fc9e5504164182832f1e5ba41d0f830a65509e8fb02608338035c83c8f
MD5 fc29682d9c9521c54328565af6981645
BLAKE2b-256 c8cf593643c1b0365770ca61dd4706b127e03b328fbd483f3e73188d6160c10c

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