Calculate affinity between anime list users
Project description
aniffinity
“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
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.1.2.tar.gz
(11.7 kB
view hashes)
Built Distribution
Close
Hashes for aniffinity-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b643d360a87f7e8f07c7e89780a1a4cb3cccee3df9bc319deb21cf2255ca3db |
|
MD5 | b41549d2e764837c7a23243755b5417a |
|
BLAKE2b-256 | c856fb232d29e4328f85a50e7e4125ad82d5d5fd8ff756c0695255b1e9c5e021 |