Calculate affinity between anime list users
Project description
aniffinity
“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
Legal Stuff
Licensed under MIT. See LICENSE for more info.
Cat Gif
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aac646df9af7562ea775a6a23d7c3aeb06946b21843320e70bdcd4e0d148b91 |
|
MD5 | ef067896169737a9f1e5f4bdea749427 |
|
BLAKE2b-256 | 4c64d123f82a22208e7f996e04f44a26794ada6cbef04236c3cb06ba961bc749 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e272e5184417c7dd7b67b1dc370bdf882684bf6f3e83bb684b496d0136f1e00d |
|
MD5 | 89d5e1b9f0fbb55d09b560df8c939478 |
|
BLAKE2b-256 | acd4df29ab7f789916275cb3c49de9a7f0cea42eb512297caea1198c7b16c85b |