semvec/pypi-packages huggingface dataset:
restraint 0.0.2
Rate Limiting Module
License: MIT

Restraint
---------

.. image:: https://travis-ci.org/KyleJamesWalker/restraint-py.svg?branch=master
    :target: https://travis-ci.org/KyleJamesWalker/restraint-py

.. image:: https://codecov.io/gh/KyleJamesWalker/restraint-py/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/KyleJamesWalker/restraint-py

Simple Rate Limit Library.

Example setup
^^^^^^^^^^^^^

.. code-block:: python

 from restraint import restrain, Limit, add

 add('example', Limit(second=1, minute=5))

 @restrain('example')
 def hello():
     print(f'Hello World')
sparkdatachallenge 0.1.1
<Enter a one-sentence description of this project here.>
License: MIT
Requires Python: >=3.8,<4.0
Keywords: packaging,poetry

==================
sparkdatachallenge
==================



Sparkdata challenge for finding multiplicative pairs in a sorted array of decimal numbers that
are constructed from two arrays (A,B), one containing the integer part and one containing the decimal part
but as an integer.

The decimal numbers are then constructed as following:
C[i] = A[i] + B[i] / scale 

where the scale is a fixed number (here 1_000_000).

* Free software: MIT license
* Documentation: https://sparkdatachallenge.readthedocs.io.


Features
--------

* Brute force method that fails due to memory allocation for large arrays but only uses numpy vectorized functions
* Brute force method based on a double for-loop
* Math based method - optimized using mathematical properties of the inequalities and leveraging that the decimal number array C is sorted.