Skip to main content

llama-index readers mangadex integration

Project description

MangaDex Loader

pip install llama-index-readers-mangadex

This loader fetches information from the MangaDex API, by manga title.

Usage

from llama_index.readers.mangadex import MangaDexReader

loader = MangaDexReader()
documents = loader.load_data(
    titles=["manga title 1", "manga title 2"], lang="en"
)

Output

Text

Document text is the manga title. There are alternate titles for many manga, so the canonical title will be returned, even if it is not the title that the user queried with.

Extra Info

Data Description
id (str) MangaDex manga id
author (str) Author's full name
artist (str) Artist's full name
description (str) Manga description
original_language (str) The language of the source material (before translation)
tags (List[str]) Describes the manga's genre, e.g. "slice of life"
chapter_count (int) How many chapters exist in the requested language
latest_chapter_published_at (str) Timestamp (YYYY-MM-DDTHH:MM:SS in timezone UTC+0) for the latest chapter in the requested language

Examples

This loader is designed to be used as a way to load data into LlamaIndex.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_mangadex-0.3.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file llama_index_readers_mangadex-0.3.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_mangadex-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ef430bb60b43f17efe198fe8f8307877bae148f05c11a9fdf54569521c90666a
MD5 cc9a45397b4e96fb3d801088e5ad4f1f
BLAKE2b-256 3f3381ec0c766b211f215c36272e4ce9210ca8435d97f63f5171ffb70f5df3b4

See more details on using hashes here.

File details

Details for the file llama_index_readers_mangadex-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_mangadex-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cd6490374c91fc1d8a379018bd9060ce2febef7d5ef719425417db205bfd72d
MD5 06b8c2e3c02e548bb01e796f41a58edd
BLAKE2b-256 3e9655b105e23d28ed745e3be49a908be0013a5899aacf12131bcd66d9f57cc8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page