Metadata-Version: 2.1
Name: aniffinity
Version: 0.1.2
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.5,>=0.4)
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'

|forthebadge1| |forthebadge2| |forthebadge3|


aniffinity
==========

|rtd|

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

Calculate affinity between anime list users.


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

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


Install
-------

When the package is deployed to PyPI...,

..  code-block:: bash

    pip install aniffinity


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

* json-api-doc
* Requests


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

..  code-block:: python

    from aniffinity import Aniffinity

    af = Aniffinity("YOUR_USERNAME", base_service="A_SERVICE")

    affinity, shared = af.calculate_affinity("OTHER_USERNAME", service="OTHER_SERVICE")

    print(affinity)
    # 79.00545465639877
    print(shared)
    # 82


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:


..  |forthebadge1| image:: http://forthebadge.com/images/badges/fuck-it-ship-it.svg
    :target: http://forthebadge.com
..  |forthebadge2| image:: http://forthebadge.com/images/badges/contains-cat-gifs.svg
    :target: http://forthebadge.com
..  |forthebadge3| image:: http://forthebadge.com/images/badges/built-with-love.svg
    :target: http://forthebadge.com

..  |rtd| image:: https://readthedocs.org/projects/aniffinity/badge/?version=latest
    :target: https://aniffinity.readthedocs.io/en/latest/


