pyanilist


Namepyanilist JSON
Version 0.6.1 PyPI version JSON
download
home_pageNone
SummaryA Python wrapper for the AniList API
upload_time2024-11-18 08:11:05
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT
keywords anilist anime python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <br/>
<p align="center">
  <a href="https://github.com/Ravencentric/pyanilist">
    <img src="https://raw.githubusercontent.com/Ravencentric/pyanilist/main/docs/assets/logo.png" alt="Logo" width="400">
  </a>
  <p align="center">
    A Python wrapper for the AniList API
  </p>
</p>

<div align="center">

[![PyPI - Version](https://img.shields.io/pypi/v/pyanilist?link=https%3A%2F%2Fpypi.org%2Fproject%2Fpyanilist%2F)](https://pypi.org/project/pyanilist/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyanilist)
![License](https://img.shields.io/github/license/Ravencentric/pyanilist)
![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)
![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)

![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/Ravencentric/pyanilist/release.yml)
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ravencentric/pyanilist/tests.yml?label=tests)
[![codecov](https://codecov.io/gh/Ravencentric/pyanilist/graph/badge.svg?token=B45ODO7TEY)](https://codecov.io/gh/Ravencentric/pyanilist)

</div>

## Table Of Contents

* [Installation](#installation)
* [Docs](#docs)
* [License](#license)

## Installation

`pyanilist` is available on [PyPI](https://pypi.org/project/pyanilist/), so you can simply use [pip](https://github.com/pypa/pip) to install it.

```sh
pip install pyanilist
```

## Usage

```py
from pyanilist import AniList

with AniList() as anilist:
    media = anilist.get_media("My Hero Academia")
    print(media.title.romaji)
    #> Boku no Hero Academia
    print(media.site_url)
    #> https://anilist.co/anime/21459
    print(media.episodes)
    #> 13
```

## Docs

Checkout the complete documentation [here](https://pyanilist.ravencentric.cc).

## License

Distributed under the [MIT](https://choosealicense.com/licenses/mit/) License. See [LICENSE](https://github.com/Ravencentric/pyanilist/blob/main/LICENSE) for more information.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pyanilist",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "anilist, anime, python",
    "author": null,
    "author_email": "Ravencentric <me@ravencentric.cc>",
    "download_url": "https://files.pythonhosted.org/packages/2c/80/a839a4c0363d05aa5e212e7289820f942e3653dab99033e1a9608863082b/pyanilist-0.6.1.tar.gz",
    "platform": null,
    "description": "<br/>\n<p align=\"center\">\n  <a href=\"https://github.com/Ravencentric/pyanilist\">\n    <img src=\"https://raw.githubusercontent.com/Ravencentric/pyanilist/main/docs/assets/logo.png\" alt=\"Logo\" width=\"400\">\n  </a>\n  <p align=\"center\">\n    A Python wrapper for the AniList API\n  </p>\n</p>\n\n<div align=\"center\">\n\n[![PyPI - Version](https://img.shields.io/pypi/v/pyanilist?link=https%3A%2F%2Fpypi.org%2Fproject%2Fpyanilist%2F)](https://pypi.org/project/pyanilist/)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyanilist)\n![License](https://img.shields.io/github/license/Ravencentric/pyanilist)\n![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)\n![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)\n\n![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/Ravencentric/pyanilist/release.yml)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/ravencentric/pyanilist/tests.yml?label=tests)\n[![codecov](https://codecov.io/gh/Ravencentric/pyanilist/graph/badge.svg?token=B45ODO7TEY)](https://codecov.io/gh/Ravencentric/pyanilist)\n\n</div>\n\n## Table Of Contents\n\n* [Installation](#installation)\n* [Docs](#docs)\n* [License](#license)\n\n## Installation\n\n`pyanilist` is available on [PyPI](https://pypi.org/project/pyanilist/), so you can simply use [pip](https://github.com/pypa/pip) to install it.\n\n```sh\npip install pyanilist\n```\n\n## Usage\n\n```py\nfrom pyanilist import AniList\n\nwith AniList() as anilist:\n    media = anilist.get_media(\"My Hero Academia\")\n    print(media.title.romaji)\n    #> Boku no Hero Academia\n    print(media.site_url)\n    #> https://anilist.co/anime/21459\n    print(media.episodes)\n    #> 13\n```\n\n## Docs\n\nCheckout the complete documentation [here](https://pyanilist.ravencentric.cc).\n\n## License\n\nDistributed under the [MIT](https://choosealicense.com/licenses/mit/) License. See [LICENSE](https://github.com/Ravencentric/pyanilist/blob/main/LICENSE) for more information.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Python wrapper for the AniList API",
    "version": "0.6.1",
    "project_urls": {
        "Documentation": "https://pyanilist.ravencentric.cc",
        "Homepage": "https://pyanilist.ravencentric.cc",
        "Repository": "https://github.com/Ravencentric/pyanilist"
    },
    "split_keywords": [
        "anilist",
        " anime",
        " python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "34ba089595c7544ec5e9da78d88336b4214e3999982df81ad004b39ce8ad5d7b",
                "md5": "9b5fef2af6bc2d3df3f01629045b1051",
                "sha256": "377550887924df91dfb4abb22fdb4cf6189a5a7caf13607e8d72a821832562bd"
            },
            "downloads": -1,
            "filename": "pyanilist-0.6.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9b5fef2af6bc2d3df3f01629045b1051",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 19013,
            "upload_time": "2024-11-18T08:11:03",
            "upload_time_iso_8601": "2024-11-18T08:11:03.148152Z",
            "url": "https://files.pythonhosted.org/packages/34/ba/089595c7544ec5e9da78d88336b4214e3999982df81ad004b39ce8ad5d7b/pyanilist-0.6.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2c80a839a4c0363d05aa5e212e7289820f942e3653dab99033e1a9608863082b",
                "md5": "23207514c93e3671c67f6ddc905c1110",
                "sha256": "d0768bf933d1a3a86f32a20731a1dea5719ef4b5805855525da9ed2316fa7028"
            },
            "downloads": -1,
            "filename": "pyanilist-0.6.1.tar.gz",
            "has_sig": false,
            "md5_digest": "23207514c93e3671c67f6ddc905c1110",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 306103,
            "upload_time": "2024-11-18T08:11:05",
            "upload_time_iso_8601": "2024-11-18T08:11:05.434185Z",
            "url": "https://files.pythonhosted.org/packages/2c/80/a839a4c0363d05aa5e212e7289820f942e3653dab99033e1a9608863082b/pyanilist-0.6.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-18 08:11:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Ravencentric",
    "github_project": "pyanilist",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pyanilist"
}
        
Elapsed time: 0.38052s