Skip to main content

Open-source library containing database about animes/series and including a built-in utility.

Project description

AnimeData

Presentation

AnimeData is a python-based project developed by swarthur.

The project's goal is to offer an open-source and easy way to get data about its favourite animes and series.

AnimeData is composed of 2 main files :

  1. animedata.py : Python module essential to exploit and modify the JSON database.
  2. animedata_source.json : JSON file : series database.

Data available

Some data about an anime may be missing, especially if the anime has been added a long time ago. However, each anime should be compatible with the latest version of AnimeData.

How to use this library

In order to make this project useful for everyone, anybody can use the provided tool to get, add or modify its animes or series, from a compatible manager.

Currently, only AnimeTime is compatible with showdata.

How does the tool works ?

The tool's input needs to be an dictionnary, specially formatted, with special keys provided in a dictionnary in the module.

Example of formatted python dictionnary :

json_dict = {"anime_name":{
    "seasons_episodes":{
        "episode_number":{
            "episode_name" : "episode_name",
            "episode_duration" : 00,
            "episode_release_date" : [MM,DD,YYYY]
            }
        ...} # Others episodes
        }
    ...} # Others series 

Does another JSON file is compatible ?

AnimeData uses metadata, and corruped metadata stops the tool from loading the data.

The AnimeData loading-friendly files are :

  • animedata_source.json : source file of the database
  • animedata_local.json : custom file, similar to the source file but containing custom data from an series manager.

The AnimeData saving-friendly files is:

  • animedata_local.json : custom file used to save anime's custom data from a compatible anime manager.

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

animedata-0.3.1.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

animedata-0.3.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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