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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a1fa7a9c095904e6b982648685fb491dc36fb1d12ac8d42cf2831562623353b
|
|
| MD5 |
f19502747ba607cda0489b3c3ed903a0
|
|
| BLAKE2b-256 |
a22549d3c11f447c857a2036f74ed9ab29a4aed0fd531f96927a0233a6b297c9
|