Skip to main content

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 pycroupier
>>> damping = pycroupier.damping()
>>> data = ["b", "e", "h", "d", "f"]
>>> damping.draw(data, 2)

Project details


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.1.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file pycroupier-1.0.1.tar.gz.

File metadata

  • Download URL: pycroupier-1.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for pycroupier-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4d48d758bc0bf814a1cbf365497666652d6cb90f210d7b42ece2584e3784ce3f
MD5 ca7cd3b2617f8f0fe57cb64fcebdeaa7
BLAKE2b-256 316def1210e4f8172d5d6eeb0f6154a5bbcd938c724d7d8162a310447d0be292

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page