llama-index-readers-mangadex


Namellama-index-readers-mangadex JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers mangadex integration
upload_time2024-08-22 06:31:44
maintainerchoombaa
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords anime manga
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # MangaDex Loader

```bash
pip install llama-index-readers-mangadex
```

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

## Usage

```python
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](https://github.com/run-llama/llama_index/).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-mangadex",
    "maintainer": "choombaa",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": "anime, manga",
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/94/83/22d9e9bf1f7b38ac14cc826aa68efe8815fdd722cf4f1bb3f32540ffcb60/llama_index_readers_mangadex-0.2.0.tar.gz",
    "platform": null,
    "description": "# MangaDex Loader\n\n```bash\npip install llama-index-readers-mangadex\n```\n\nThis loader fetches information from the MangaDex API, by manga title.\n\n## Usage\n\n```python\nfrom llama_index.readers.mangadex import MangaDexReader\n\nloader = MangaDexReader()\ndocuments = loader.load_data(\n    titles=[\"manga title 1\", \"manga title 2\"], lang=\"en\"\n)\n```\n\n## Output\n\n### Text\n\nDocument 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.\n\n### Extra Info\n\n| Data                              | Description                                                                                        |\n| --------------------------------- | -------------------------------------------------------------------------------------------------- |\n| id (str)                          | MangaDex manga id                                                                                  |\n| author (str)                      | Author's full name                                                                                 |\n| artist (str)                      | Artist's full name                                                                                 |\n| description (str)                 | Manga description                                                                                  |\n| original_language (str)           | The language of the source material (before translation)                                           |\n| tags (List[str])                  | Describes the manga's genre, e.g. \"slice of life\"                                                  |\n| chapter_count (int)               | How many chapters exist in the requested language                                                  |\n| latest_chapter_published_at (str) | Timestamp (YYYY-MM-DDTHH:MM:SS in timezone UTC+0) for the latest chapter in the requested language |\n\n## Examples\n\nThis loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index readers mangadex integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [
        "anime",
        " manga"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b280427c3b065fedbd69962952ff43dbff982ece6b3755534b4ea7d9e17f2ae1",
                "md5": "12a2d8889c8b684c27bb43310f46a82b",
                "sha256": "bb91e8dccfddc90eeb13a0c2de2bf34401d6c2153ab757a6f992159998dc949b"
            },
            "downloads": -1,
            "filename": "llama_index_readers_mangadex-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "12a2d8889c8b684c27bb43310f46a82b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3564,
            "upload_time": "2024-08-22T06:31:43",
            "upload_time_iso_8601": "2024-08-22T06:31:43.240902Z",
            "url": "https://files.pythonhosted.org/packages/b2/80/427c3b065fedbd69962952ff43dbff982ece6b3755534b4ea7d9e17f2ae1/llama_index_readers_mangadex-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "948322d9e9bf1f7b38ac14cc826aa68efe8815fdd722cf4f1bb3f32540ffcb60",
                "md5": "06fc641d158ee17b80a57625333570b2",
                "sha256": "a15413303c079dccc4d94ad49dfbc77219fc0d7139c0f4e9901f10c49cfafa5d"
            },
            "downloads": -1,
            "filename": "llama_index_readers_mangadex-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "06fc641d158ee17b80a57625333570b2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3277,
            "upload_time": "2024-08-22T06:31:44",
            "upload_time_iso_8601": "2024-08-22T06:31:44.806818Z",
            "url": "https://files.pythonhosted.org/packages/94/83/22d9e9bf1f7b38ac14cc826aa68efe8815fdd722cf4f1bb3f32540ffcb60/llama_index_readers_mangadex-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 06:31:44",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-mangadex"
}
        
Elapsed time: 0.28263s