Numeric Data Generator

sample_data_utils.numeric.binary(length)[source]

returns a a random string that represent a binary representation

Parameters:length – number of bits
sample_data_utils.numeric.digits(length)[source]

return a random integer

Parameters:length – number of digits
sample_data_utils.numeric.hexnum(length)[source]

return a random string represents hexadecimal number of length size

Parameters:length – length (without 0x prefix)
Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.