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.
Metadata
Release files for WeightedListPicker 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| WeightedListPicker-0.0.2.tar.gz | 2.5 kB | Details |
Release files / WeightedListPicker-0.0.2.tar.gz
| Download URL | WeightedListPicker-0.0.2.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a1fa7a9c095904e6b982648685fb491dc36fb1d12ac8d42cf2831562623353b
|
|
BLAKE2b-256 checksum How to use checksums |
a22549d3c11f447c857a2036f74ed9ab29a4aed0fd531f96927a0233a6b297c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|