Skip to main content

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

Dependencies

Comicbox works without any binary dependencies but if unrar-cffi is available it will use that instead of Python's native rarfile.

🤔 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.

Metadata

Release files for comicbox 0.6.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comicbox 0.6.7
File Size Uploaded Provenance Actions
comicbox-0.6.7.tar.gz 78.9 MB Without provenance Details for comicbox-0.6.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for comicbox 0.6.7
File Interpreter ABI Platform Actions
comicbox-0.6.7-py3-none-any.whl Python 3 none any Details for comicbox-0.6.7-py3-none-any.whl

Total release size: 79.0 MB

Release files / comicbox-0.6.7.tar.gz

Download URL comicbox-0.6.7.tar.gz
Size 78.9 MB
Tags Source
SHA-256 checksum
How to use checksums
bc69a8c0c4de041c37f158c69c381c1964f2253db3755482c3dcf281b2e79082
BLAKE2b-256 checksum
How to use checksums
228aa2991be692ff2c1cb31c17e5547ec8ba106f4899f988e7cbee4bb917e975
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.10.0 Linux/5.15.0-1030-aws

Release files / comicbox-0.6.7-py3-none-any.whl

Download URL comicbox-0.6.7-py3-none-any.whl
Size 30.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e792b7b460e3fb0a9a3a4c559027102fcdbb8166b389a82b00641005eb446e8
BLAKE2b-256 checksum
How to use checksums
cd83e29eca78b0a877f96485646c4bc84f640b6c909e62caa2aa6f80ea8efecc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.10.0 Linux/5.15.0-1030-aws

Security for comicbox 0.6.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page