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()   #default value is 3, 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")

print(anime.url)
print(anime.name)
print(anime.description)    #check the documentation for a list of all supported attributes
print(anime.recommend())  #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.50.tar.gz (10.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

animec-0.1.50-py3.9.egg (18.6 kB view details)

Uploaded Egg

animec-0.1.50-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: animec-0.1.50.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for animec-0.1.50.tar.gz
Algorithm Hash digest
SHA256 e197bff51c0ea9d96c1d72f4069a07886b46b097f9560c9f79f1854c6aca2c41
MD5 b20f4fc6648862d572c2ff0aa4452a7f
BLAKE2b-256 06a4a1097333ab7d02e90ba9ad29df2ccda9005775ac057d36fbd4f479944bd5

See more details on using hashes here.

File details

Details for the file animec-0.1.50-py3.9.egg.

File metadata

  • Download URL: animec-0.1.50-py3.9.egg
  • Upload date:
  • Size: 18.6 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for animec-0.1.50-py3.9.egg
Algorithm Hash digest
SHA256 c063d99c94159bacb5e379eb2bf6c6096fe23e7b0d2620cc63b394a897efb9a3
MD5 a048ddfe37c00a3f4c1de247c0607217
BLAKE2b-256 dd244391133c47fc1189087f861a294b5ee9088d70e63cb9af15e1b4f056000c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: animec-0.1.50-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for animec-0.1.50-py3-none-any.whl
Algorithm Hash digest
SHA256 0bf14887d6c0db0c2e2a9badd52e0495d3c55b66ec24103b7541d340414af37a
MD5 d7764f648faf3762c198e2b215516725
BLAKE2b-256 eaecb3132e3d8e43017017ac88420beb99158a1e6f8ca8dba370bea9f98d0b3e

See more details on using hashes here.

Supported by

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