Skip to main content

mangainfo

PyPI - Version PyPI - Python Version License Checked with mypy Ruff

GitHub Workflow Status (with event) GitHub Actions Workflow Status codecov

Table Of Contents

About

mangainfo is both a library and CLI tool to generate mediainfo for manga archives. This relies on archivefile for reading the archives and pymediainfo for generating the mediainfo.

Installation

mangainfo is available on PyPI, so you can simply use pip to install it.

pip install mangainfo

Usage

As a library:

from mangainfo import MangaParser

archive = "~/Blue Box (Digital) (1r0n)/Blue Box v06 (2023) (Digital) (1r0n).cbz"

manga = MangaParser(archive).partial_scan()

for page in manga.pages:
    print(page.resolution)

As a CLI:

❯ mangainfo --help
usage: mangainfo [-h] [--full] path

Generate mediainfo-esque text from a manga archive.

positional arguments:
  path        Path to a manga archive.

options:
  -h, --help  show this help message and exit
  --full      Scan every page. More accurate data but far slower.

Refer to the API reference for more details.

Docs

Checkout the complete documentation here.

License

Distributed under the Unlicense License. See UNLICENSE for more information.

Metadata

Release files for mangainfo 0.1.1

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

Source distribution (sdist)

Source distribution for mangainfo 0.1.1
File Size Uploaded
mangainfo-0.1.1.tar.gz 7.1 kB Details

Built distribution (wheel)

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

Total release size: 15.3 kB

Release files / mangainfo-0.1.1.tar.gz

Download URL mangainfo-0.1.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
674030d3e8230e4ccf283b3faaf218057f58ea19aff989ee196759aad9e79587
BLAKE2b-256 checksum
How to use checksums
e007dbde5a71311d002a14aa075287513afa1d8984fe32b6f4b0134d803bc254
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1018-azure

Release files / mangainfo-0.1.1-py3-none-any.whl

Download URL mangainfo-0.1.1-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0aa541083e526d0ae8c7b195fe55fd15113e7d2123a012b281ac06952bb2a15f
BLAKE2b-256 checksum
How to use checksums
3d79470a8f31218abfdef582903c74cf4389c923bdd4c98bdc239a9a320ffcd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1018-azure

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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