This is Pymoe. The only python library you'll need if you need information on Anime, Manga, Light Novels, or Visual Novels.
Project description
PyMoe
Welcome to PyMoe. PyMoe is a general purpose Python library that wraps APIs for several large websites that offer information about Anime, Manga, Light Novels, and Web Novels. Currently six different APIs are supported with plans for more in the future (Especially looking at MangaDex integration).
You can find the documentation for this on Github Pages.
Installation
If you are looking to install version 2 with the unified api:
python -m pip install pymoe
If you are looking for version 1.0.6, the version prior to the unified api update:
python -m pip install pymoe==1.0.6
You can also git clone this branch and install it that way:
git clone https://github.com/ccubed/PyMoe.git .
python -m pip install -e .
Note that this project does not include a setup.py. This project uses flit, a modern build system. You will have to use a recent version of setuptools and pip that has support for pyproject.toml with a specified build pipeline.
Assuming you have flit, you can also do:
git clone https://github.com/ccubed/PyMoe.git .
flit install
Simplified Changelong
1.0.0: This brings us to 1.0. A stable release for Pymoe. It supports the majority of my end goal websites and it has some good interfaces. This is a breaking change, thus the major bump. I cannot stress enough that you should not update unless you have taken the time to read through and note the differences. There are several.
1.0.4: This fixes anilist. If you don't have this, anilist won't work.
1.0.6: Some additions by starry69 to add streaming links on kitsu and to make VNDB filters a little easier to use.
2.0: Second major release of Pymoe. This will be a breaking change. The API is going to be unified. Instead of one interface for each service, the interfaces have been reduced down to categories. Note that document below represents a work in progress state.
2.2: A major upgrade to existing code. Refactored the code to be more thin and better organized. Switched to the Poetry build engine. Switched to Taskfile.dev for task running. Switched to mkdocs and github pages for documentation. Added MangaUpdates and WLNUpdates as data sources.
Supported Services per category
Anime
- Kitsu
- Anilist
- MyAnimeList
Manga
- Kitsu
- Anilist
- MangaUpdates
Visual Novels (VN)
- None
Light Novels (LN)
- Bakatsuki
- WLNUpdates
A few Examples
import pymoe
pymoe.anime.search.shows("Dragon")
pymoe.anime.get.show(13593)
pymoe.anime.search.characters("Sakura Haruno")
pymoe.anime.get.character(102522)
# Specifically kitsu
pymoe.anime.search.kitsu.shows("Dragon")
# specifically anilist
pymoe.anime.search.anilist.shows("Dragon")
# specifically myanimelist
pymoe.anime.search.mal.shows("Dragon")
import pymoe
pymoe.ln.get.active()
pymoe.ln.search.web_novels()
pymoe.ln.get.cover(98771)
Further examples are available in the documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pymoe-2.2.1.tar.gz
.
File metadata
- Download URL: pymoe-2.2.1.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.2 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50f76c75636600f7dc01c77fd524cc8b0c05e53dd59a582d936fb65d3051f014 |
|
MD5 | 4a72bc4469081f7df90b1fdc44f6d005 |
|
BLAKE2b-256 | bf0af8100c5dcf5977ee23512184f912d7cd3558bb55ef2ddc26406dc12a5eae |
File details
Details for the file pymoe-2.2.1-py3-none-any.whl
.
File metadata
- Download URL: pymoe-2.2.1-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.2 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d0ffdf0893c0d31051069fe9e48e217683570dec7de24aa3181ea5aaa046b99 |
|
MD5 | 48c1ac9d0f18f2ce7deeea3dec25bcd0 |
|
BLAKE2b-256 | 902f4c2fe44d9ad8c65ea311454a3b193defb898b4b6b8215c4e7d001cce19a2 |