Skip to content

myne

Tests Build PyPI - Types License

PyPI - Latest Version PyPI - Python Version PyPI - Implementation

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.

pip install myne

Building from source

Building from source requires the Rust toolchain and Python 3.9+.

  • With uv:
git clone https://github.com/Ravencentric/myne
cd myne
uv build
git clone https://github.com/Ravencentric/myne
cd myne
python -m build

License

Licensed under either of:

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.