Complete shuffling of lists with true random or pseudo random sequences.
Project description
complete_shuffle
Complete shuffling of lists with true random or pseudo random sequences.
Multiple external true random sources can be accessed to shuffle the list.
Installation
Installation can be done through pip. You must have python version >= 3.8
pip install complete-shuffle
Usage
The statement to import the package:
from complete_shuffle_package import *
Example:
>>> seed = 170141183460469231731687303715884105727
>>> sequence_list = list(range(12))
>>> pr_complete_shuffle(sequence_list, seed)
>>> sequence_list
[3, 6, 2, 10, 11, 0, 7, 9, 1, 4, 8, 5]
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
complete_shuffle-0.9.3.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for complete_shuffle-0.9.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 068d4350367cf1ff30feef65d428832c4cfa67fd0654f5e73feaf5426d204caa |
|
MD5 | 00ae98f3390104882831564c23827c76 |
|
BLAKE2b-256 | 9a6b6ae9e03295a410c1fe581ee40f5c98c455cac911bf216cfc6d32a2350395 |