Find the amount of hours you took to watch the anime you love.
Project description
AnimeHoursFinder
Find the amount of hours you took to watch the anime you love.
Uses unoffical mal api by Daren Liang to get the data from MyAnimeList.
Install
pip install animeHours==0.1.1
Usage
To import the package do this
from animeHours import animeHours as ah
To search with an XML file exported from MyAnimeList create a Finder class with the file arg pointing to the file
file = "anime-list.xml"
finder = ah.Finder(file=file)
hours = brain.find("open")
print("You've watched {} hours of anime\n".format(hours)
To search with a string of anime titles, create a Finder class with the animelist arg pointing to the string
animeList = "Dr Stone, My Hero Academia Season 1"
brain = ah.Finder(animelist=animeList)
hours = brain.find()
print("You've watched {} hours of anime\n".format(hours))
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
animeHours-0.2.tar.gz
(3.8 kB
view details)
File details
Details for the file animeHours-0.2.tar.gz.
File metadata
- Download URL: animeHours-0.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3b52126b22afcf1da5fb3f514e186d4d09111a41a9cd28760209c18845ff898
|
|
| MD5 |
14346e7be4be5925c8f01fc73cc40bef
|
|
| BLAKE2b-256 |
c03905c4e93aacc3ca475598bcf2c5a6ca36c1caea62b7d2416838da9cdfb7e9
|