Skip to main content

A module to get data about anime characters, news, info, lyrics and more.

Project description

Animec

A module to get data about anime characters, news, info, lyrics and more. The module scrapes myanimelist to parse requested data.

If you wish to see a feature, please raise an issue. We will surely work on it. You can also join our Discord to get regular updates about the module.

See the Docs for a complete documentation: https://animec.readthedocs.io/en/latest/.

Installation and Usage

To install the module:

pip install animec

To import the module:

import animec
# OR
from animec import *

Examples

Extracting an anime character's data

result = charsearch("okabe rintarou")

print(result.title, result.url, result.image_url, sep="\n")

'''
Output: (As retrieved from myanimelist), check the documentation for a list of all supported attributes
Rintarou Okabe (岡部 倫太郎)
https://myanimelist.net/character/35252/Rintarou_Okabe
https://cdn.myanimelist.net/images/characters/6/122643.jpg
'''

Requesting anime news

news = aninews(3)   #default value is 2, check the documentation for a list of all supported attributes

print(news.titles)  #returns news titles
print(news.descripion)   #returns news description

Getting anime info and recommendations

anime = anime("dr stone")
recommendations = anime.recommend()

print(anime.url)
print(anime.name)
print(anime.description)    #check the documentation for a list of all supported attributes
print(recommendations)  #returns a list of anime recommendations

Anime Lyrics

lyrics = anilyrics("Ashiato")
print(lyrics.romaji)

Animec Documentation

The Official Documentation for animec can be found here.

Credits

Author: DriftAsimov
GitHub: https://github.com/DriftAsimov
Language Used: Python
References: https://myanimelist.net/, https://www.animesonglyrics.com/

Contact Us

Mail: driftasimov@gmail.com
Discord: Drift Asimov#3338 | https://discord.gg/x3qAZV3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

animec-0.1.31.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

animec-0.1.31-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file animec-0.1.31.tar.gz.

File metadata

  • Download URL: animec-0.1.31.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for animec-0.1.31.tar.gz
Algorithm Hash digest
SHA256 bbaee0ada3505cc81c95df9872c32201f91c4ab8cbb168736ed0aee3013090ef
MD5 ff2204a1dd6733cce64bdfcbdd0c44b8
BLAKE2b-256 2a42f19c1a0496c0cfb8414cedf638da1c6d9653d3eb9e7af0817dd2e45383f9

See more details on using hashes here.

File details

Details for the file animec-0.1.31-py3-none-any.whl.

File metadata

  • Download URL: animec-0.1.31-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for animec-0.1.31-py3-none-any.whl
Algorithm Hash digest
SHA256 84a0a93b66e238ebd98f4b8ba409f653ea32fd8ca634b679e60098d496cf599e
MD5 328ce4c3746555b3e0aec7bc9fca6716
BLAKE2b-256 6a64c1fc25d0c253d2342353f62da7a989e4c63b3e7b3fff3d86d0d44f5351a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page