Skip to main content

Calculate affinity between anime list users

Project description

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 for more info.

Install

When the package is deployed to PyPI…,

pip install aniffinity

Dependencies

  • json-api-doc

  • Requests

Example Usage

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

For more info, read the docs.

Documentation

Documentation at https://aniffinity.readthedocs.io

Cat Gif

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

aniffinity-0.1.2.tar.gz (11.7 kB view hashes)

Uploaded Source

Built Distribution

aniffinity-0.1.2-py2.py3-none-any.whl (12.9 kB view hashes)

Uploaded Python 2 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