{"id":16628062,"url":"https://github.com/thegoldenpro/anmoku","last_synced_at":"2025-03-23T14:31:23.357Z","repository":{"id":203832849,"uuid":"710500543","full_name":"THEGOLDENPRO/anmoku","owner":"THEGOLDENPRO","description":"🌸 Python's future Jikan API wrapper! With proper rate limiting! [WIP]","archived":false,"fork":false,"pushed_at":"2024-12-05T01:17:58.000Z","size":9370,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T21:12:18.989Z","etag":null,"topics":["anime-api","anime-search","async-wrapper","jikan","jikan-api","jikan-api-wrapper","jikan-moe","myanimelist","myanimelist-api"],"latest_commit_sha":null,"homepage":"http://anmoku.devgoldy.xyz/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/THEGOLDENPRO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-26T20:29:17.000Z","updated_at":"2024-12-05T01:17:24.000Z","dependencies_parsed_at":"2023-10-31T05:25:20.508Z","dependency_job_id":"c412095e-f291-4a4a-8eb4-38959205276d","html_url":"https://github.com/THEGOLDENPRO/anmoku","commit_stats":null,"previous_names":["thegoldenpro/anmoku"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/THEGOLDENPRO%2Fanmoku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/THEGOLDENPRO%2Fanmoku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/THEGOLDENPRO%2Fanmoku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/THEGOLDENPRO%2Fanmoku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/THEGOLDENPRO","download_url":"https://codeload.github.com/THEGOLDENPRO/anmoku/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245115805,"owners_count":20563238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anime-api","anime-search","async-wrapper","jikan","jikan-api","jikan-api-wrapper","jikan-moe","myanimelist","myanimelist-api"],"created_at":"2024-10-12T04:29:49.860Z","updated_at":"2025-03-23T14:31:23.337Z","avatar_url":"https://github.com/THEGOLDENPRO.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n  # 🌸 Anmoku 安黙\n\n  \u003csub\u003eA peaceful and fully typed [MyAnimeList](https://myanimelist.net/) / [Jikan](https://jikan.moe/) Python API wrapper with caching and proper rate limiting.\u003c/sub\u003e\n\n  [![Pypi Version](https://img.shields.io/pypi/v/anmoku?style=flat)](https://pypi.org/project/anmoku/)\n  [![Python Versions](https://img.shields.io/pypi/dm/anmoku?color=informational\u0026label=pypi%20downloads)](https://pypi.org/project/anmoku/)\n  [![Pypi Downloads](https://img.shields.io/pypi/pyversions/anmoku?style=flat)](https://pypistats.org/packages/anmoku)\n\n  \u003cimg width=\"550px\" src=\"./assets/quick_showcase_1.gif\"\u003e\n\n  \u003cbr\u003e\n\n\u003c/div\u003e\n\n\u003e [!NOTE]\n\u003e \n\u003e Anmoku is currently a work in progress so the features below may not be complete yet or experimental.\n\n## Features ✨\n- [x] Rate limiting 🎀 (with actual waiting).\n- [ ] Supports caching. ⚡\n- [ ] [Fully type hinted.](#type-hinting-support-) 🌌 ~~*yes you heard me correctly*~~\n\n## Examples ⚗️\nAnmoku is probably the simplest Jikan API wrapper you'll ever use. All you need is the client and the resource. 🌊\n```python\nfrom anmoku import Anmoku, AnimeCharacters\n\nclient = Anmoku(debug = True)\n\nanime_characters = client.get(AnimeCharacters, id = 28851) # ID for the anime film \"A Silent Voice\".\n\nfor character in anime_characters:\n    print(f\"{character.name} ({character.url})\")\n\nclient.close()\n```\nWe also have an async client:\n```python\nimport asyncio\nfrom anmoku import AsyncAnmoku, AnimeCharacters\n\nasync def main():\n\n    client = AsyncAnmoku(debug = True)\n\n    anime_characters = await client.get(AnimeCharacters, id = 28851) # ID for the anime film \"A Silent Voice\".\n\n    for character in anime_characters:\n        print(f\"{character.name} ({character.url})\")\n\n    await client.close()\n\nasyncio.run(main())\n```\n\n#### Output:\n```sh\n[DEBUG] (anmoku) - [AsyncAnmoku] GET --\u003e https://api.jikan.moe/v4/anime/28851/characters\nIshida, Shouya (https://myanimelist.net/character/80491/Shouya_Ishida)\nNishimiya, Shouko (https://myanimelist.net/character/80243/Shouko_Nishimiya)\nHeadteacher (https://myanimelist.net/character/214351/Headteacher)\nHirose, Keisuke (https://myanimelist.net/character/97569/Keisuke_Hirose)\nIshida, Maria (https://myanimelist.net/character/97943/Maria_Ishida)\nIshida, Sister (https://myanimelist.net/character/118723/Sister_Ishida)\n# ... more characters below but I cut them off for the convenience of this readme\n```\n\n### Searching! 🤩\nHere are some searching examples you can try:\n```python\nfrom anmoku import Anmoku, Character\n\nclient = Anmoku(debug = True)\n\ncharacters = client.search(Character, \"anya forger\")\n\nfor character in characters:\n    print(f\"{character.name} ({character.image.url})\")\n\nclient.close()\n```\nMerge that with gradio and you have a GUI.\nhttps://github.com/THEGOLDENPRO/anmoku/blob/099f6596b685daa65259319d6730bef674ced38a/examples/gradio_anime_search.py#L1-L23\n\n[[Gradio Video]](https://github.com/THEGOLDENPRO/anmoku/assets/66202304/75c9c35c-bf68-4c53-96e5-057dc97ca1dd)\n\n## Type hinting support! 🌌\nAPI responses in our library are strongly typed.\n\n\u003cimg src=\"./assets/type_hints_1.png\" width=\"100%\"\u003e\n\nOn top of that, we even provide class interfaces if you wish for stability and ease of use.\n\n\u003cimg src=\"./assets/type_hints_3.png\" width=\"100%\"\u003e\n\u003cimg src=\"./assets/type_hints_2.png\" width=\"100%\"\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  \u003cimg src=\"./assets/logo.svg\" width=\"600px\"\u003e\n\n  \u003csub\u003e*Python's future Jikan API wrapper.*\u003c/sub\u003e\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthegoldenpro%2Fanmoku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthegoldenpro%2Fanmoku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthegoldenpro%2Fanmoku/lists"}