Metadata-Version: 2.1
Name: aniffinity
Version: 0.2.0
Summary: Calculate affinity between anime list users
Home-page: https://github.com/erkghlerngm44/aniffinity
Author: erkghlerngm44
Author-email: erkghlerngm44@protonmail.com
License: MIT
Keywords: anilist affinity kitsu myanimelist scores pearson
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: json-api-doc (<0.8,>=0.7)
Requires-Dist: requests (<3,>=2.18)
Provides-Extra: conventions
Requires-Dist: flake8 (<4,>=3.4) ; extra == 'conventions'
Requires-Dist: pydocstyle (<4,>=3.0) ; extra == 'conventions'
Provides-Extra: docs
Requires-Dist: sphinx (<2,>=1.6) ; extra == 'docs'
Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
Provides-Extra: tests
Requires-Dist: coverage (<5,>=4.4) ; extra == 'tests'
Requires-Dist: mock (<3,>=2.0) ; extra == 'tests'
Requires-Dist: pytest (<5,>=4.1) ; extra == 'tests'
Requires-Dist: vcrpy (<3,>=2.0) ; extra == 'tests'
Provides-Extra: travis
Requires-Dist: codecov (<3,>=2.0) ; extra == 'travis'

|ftb1| |ftb2| |ftb3|


aniffinity
==========

|pypi| |travis| |rtd|

*"An-knee-fin-knee-tea"*.

Calculate affinity between anime list users.


What is this?
-------------

Calculate affinity between a user and another user on anime list
services. Refer to the `docs <#documentation>`__ for more info.


Install
-------

..  code-block:: bash

    pip install aniffinity


Dependencies
------------

* json-api-doc
* requests


Example Usage
-------------

..  code-block:: python

    from aniffinity import Aniffinity

    af = Aniffinity("Xinil", base_service="MyAnimeList")

    affinity, shared = af.calculate_affinity("Josh", service="AniList")

    print(affinity)
    # 32.15230953451651
    print(shared)
    # 31


Available Services
------------------

* `AniList <https://anilist.co>`__
* `Kitsu <https://kitsu.io>`__
* `MyAnimeList <https://myanimelist.net>`__

For more info, read the `docs <#documentation>`__.


Documentation
-------------

Documentation at https://aniffinity.readthedocs.io


Legal Stuff
-----------

Licensed under MIT. See `LICENSE <LICENSE>`__ for more info.


Cat Gif
-------

..  figure:: https://i.imgur.com/sq42SnU.gif
    :alt:


..  |ftb1| image:: http://forthebadge.com/images/badges/made-with-python.svg
    :target: http://forthebadge.com
..  |ftb2| image:: http://forthebadge.com/images/badges/contains-cat-gifs.svg
    :target: http://forthebadge.com
..  |ftb3| image:: http://forthebadge.com/images/badges/built-with-love.svg
    :target: http://forthebadge.com

..  |pypi| image:: https://img.shields.io/pypi/v/aniffinity.svg
    :target: https://pypi.org/project/aniffinity/
..  |travis| image:: https://travis-ci.org/erkghlerngm44/aniffinity.svg?branch=master
    :target: https://travis-ci.org/erkghlerngm44/aniffinity?branch=master
..  |rtd| image:: https://readthedocs.org/projects/aniffinity/badge/?version=latest
    :target: https://aniffinity.readthedocs.io/en/latest/


