Skip to main content

A Weighted list picker. throw in two lists, One with any type variable and the other with chances in the form of int variables.

Project description

A handy library that can pick a variable out of a list, but you can give certain weights to variables out of the list. You can do this by making to lists, one with the variables you want to pick out and one with the chances of each variable.

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

WeightedListPicker-0.0.2.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file WeightedListPicker-0.0.2.tar.gz.

File metadata

  • Download URL: WeightedListPicker-0.0.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0

File hashes

Hashes for WeightedListPicker-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5a1fa7a9c095904e6b982648685fb491dc36fb1d12ac8d42cf2831562623353b
MD5 f19502747ba607cda0489b3c3ed903a0
BLAKE2b-256 a22549d3c11f447c857a2036f74ed9ab29a4aed0fd531f96927a0233a6b297c9

See more details on using hashes here.

Supported by

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