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

You may access most development tasks from the makefile. Run make to see documentation.

Dependencies

Comicbox generally works without any binary dependencies but requires unrar be on the path to convert CBR into CBZ.

🤔 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.7.1.tar.gz (78.9 MB view details)

Uploaded Source

Built Distribution

comicbox-0.7.1-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: comicbox-0.7.1.tar.gz
  • Upload date:
  • Size: 78.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/5.15.0-1030-aws

File hashes

Hashes for comicbox-0.7.1.tar.gz
Algorithm Hash digest
SHA256 60300f949803fbfabd6e29a816be51fe05dc9ef2d4a8a2ae41d27553ab103439
MD5 a506a29d189de6db237f4cee2295e7e6
BLAKE2b-256 3e48a2dc4dd429187e2d60c3322544c5742ec3a16e5ddbef20452ce08d2b7b30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: comicbox-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.3 Linux/5.15.0-1030-aws

File hashes

Hashes for comicbox-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9835e7ce8b3f2aceec2a28fa96d5e3823f3ed9c9bd0bb4585547a3e91f1809b1
MD5 f3629165d2f09fc7a775d2e78529f518
BLAKE2b-256 9faac9a51da8280196a9dea30aef78215df146c8b2a1d8cafced1fca9e1c978a

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