Rand select utils
Project description
Croupier
Croupier library support rand select items from list with difference algo.
Installation
pip install pycrouiper
Usage
Just like this:
>>> import croupier
>>> damping = croupier.damping()
>>> data = ["b", "e", "h", "d", "f"]
>>> damping.draw(data, 2)
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
pycroupier-1.0.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
pycroupier-1.0.0-py3.9.egg
(6.4 kB
view hashes)