Libary and a CLI tool to generate mediainfo for manga archives
Project description
mangainfo
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.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mangainfo-0.1.1.tar.gz.
File metadata
- Download URL: mangainfo-0.1.1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
674030d3e8230e4ccf283b3faaf218057f58ea19aff989ee196759aad9e79587
|
|
| MD5 |
4006dffca984efac07263b01a402d7d8
|
|
| BLAKE2b-256 |
e007dbde5a71311d002a14aa075287513afa1d8984fe32b6f4b0134d803bc254
|
File details
Details for the file mangainfo-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mangainfo-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0aa541083e526d0ae8c7b195fe55fd15113e7d2123a012b281ac06952bb2a15f
|
|
| MD5 |
996b65d9503b9649c4118f0317f88b69
|
|
| BLAKE2b-256 |
3d79470a8f31218abfdef582903c74cf4389c923bdd4c98bdc239a9a320ffcd2
|