aniffinity-0.2.0
توضیحات
Calculate affinity between anime list users
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | aniffinity-0.2.0 |
| نام | aniffinity |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | erkghlerngm44 |
| ایمیل نویسنده | erkghlerngm44@protonmail.com |
| آدرس صفحه اصلی | https://github.com/erkghlerngm44/aniffinity |
| آدرس اینترنتی | https://pypi.org/project/aniffinity/ |
| مجوز | MIT |
|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/
نیازمندی
| مقدار | نام |
|---|---|
| <0.8,>=0.7 | json-api-doc |
| <3,>=2.18 | requests |
| <4,>=3.4 | flake8 |
| <4,>=3.0 | pydocstyle |
| <2,>=1.6 | sphinx |
| - | sphinx-rtd-theme |
| <5,>=4.4 | coverage |
| <3,>=2.0 | mock |
| <5,>=4.1 | pytest |
| <3,>=2.0 | vcrpy |
| <3,>=2.0 | codecov |
نحوه نصب
نصب پکیج whl aniffinity-0.2.0:
pip install aniffinity-0.2.0.whl
نصب پکیج tar.gz aniffinity-0.2.0:
pip install aniffinity-0.2.0.tar.gz