semvec/pypi-packages huggingface dataset:
integrator_mandubab 0.7
Simple Integrator for INF4331 assignment4 in UiO
License: MIT
Keywords: simple integrator UiO INF4331 assignment4


This package implements simple integration function with following signature:

def integration(f, a, b, N, method = "endpoint", implementation = "python")
where
f --> function to integrate (python function)
a --> lower limit (float)
b --> upper limit (float)
N --> number of intermediate points (integer)
method --> "endpoint" or "midpoint" (string)
implementation --> "python" or "numpy" or "numba" or "cython" (string)
malaffinity 2.5.2
Calculate affinity between MyAnimeList users
License: MIT
Keywords: myanimelist affinity mal

|forthebadge1| |forthebadge2| |forthebadge3|


malaffinity
===========

|pypi| |travis| |codecov| |rtd|

Calculate affinity between MyAnimeList users


What is this?
-------------

Calculate the affinity (Pearson's Correlation \* 100) between a "base"
user and another user. Refer to the `docs <#documentation>`__ for more info.


Install
-------

.. code-block:: bash

    pip install malaffinity


Dependencies
------------

* BeautifulSoup4
* lxml
* Requests


Examples
--------

.. code-block:: python

    from malaffinity import MALAffinity

    ma = MALAffinity("YOUR_USERNAME")

    affinity, shared = ma.calculate_affinity("OTHER_USERNAME")

    print(affinity)
    # 79.00545465639877
    print(shared)
    # 82

or

.. code-block:: python

    import malaffinity

    affinity, shared = malaffinity.calculate_affinity("YOUR_USERNAME", "OTHER_USERNAME")

    # ...


Documentation
-------------

Documentation at https://malaffinity.readthedocs.io


Legal Stuff
-----------

Licensed under MIT. See `LICENSE <LICENSE>`__ for more info.


Cat Gif
-------

.. figure:: https://i.imgur.com/sq42SnU.gif
   :alt:


.. |forthebadge1| image:: http://forthebadge.com/images/badges/fuck-it-ship-it.svg
   :target: http://forthebadge.com
.. |forthebadge2| image:: http://forthebadge.com/images/badges/contains-cat-gifs.svg
   :target: http://forthebadge.com
.. |forthebadge3| image:: http://forthebadge.com/images/badges/built-with-love.svg
   :target: http://forthebadge.com

.. |pypi| image:: https://img.shields.io/pypi/v/malaffinity.svg
   :target: https://pypi.org/project/malaffinity/
.. |travis| image:: https://travis-ci.org/erkghlerngm44/malaffinity.svg?branch=master
   :target: https://travis-ci.org/erkghlerngm44/malaffinity?branch=master
.. |codecov| image:: https://codecov.io/gh/erkghlerngm44/malaffinity/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/erkghlerngm44/malaffinity
.. |rtd| image:: https://readthedocs.org/projects/malaffinity/badge/?version=latest
   :target: http://malaffinity.readthedocs.io/en/latest/