Skip to main content

Calculate affinity between anime list users

Project description

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

Install

pip install aniffinity

Dependencies

  • json-api-doc

  • requests

Example Usage

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

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.2.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

aniffinity-0.2.0-py2.py3-none-any.whl (13.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file aniffinity-0.2.0.tar.gz.

File metadata

  • Download URL: aniffinity-0.2.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for aniffinity-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5aac646df9af7562ea775a6a23d7c3aeb06946b21843320e70bdcd4e0d148b91
MD5 ef067896169737a9f1e5f4bdea749427
BLAKE2b-256 4c64d123f82a22208e7f996e04f44a26794ada6cbef04236c3cb06ba961bc749

See more details on using hashes here.

File details

Details for the file aniffinity-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: aniffinity-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for aniffinity-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e272e5184417c7dd7b67b1dc370bdf882684bf6f3e83bb684b496d0136f1e00d
MD5 89d5e1b9f0fbb55d09b560df8c939478
BLAKE2b-256 acd4df29ab7f789916275cb3c49de9a7f0cea42eb512297caea1198c7b16c85b

See more details on using hashes here.

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