myne
myne
is a parser for manga and light novel filenames, providing the Book
class for extracting and representing metadata such as title, volume, chapter, edition, and more.
Usage
from myne import Book
book = Book.parse("Ascendance of a Bookworm - v07 (2021) (Digital) (Kinoworm).cbz")
assert book.title == "Ascendance of a Bookworm"
assert book.volume == "7"
assert book.year == 2021
assert book.digital is True
assert book.group == "Kinoworm"
Installation
myne
is available on PyPI, so you can simply use pip to install it.
Building from source
Building from source requires the Rust toolchain and Python 3.9+.
- With
uv
:
- With
pypa/build
:
License
Licensed under either of:
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contributing
Contributions are welcome! Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.