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) |