Text Data Generator
-
sample_data_utils.text.text(length, choices='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ')[source]
returns a random (fixed length) string
Parameters: |
- length – string length
- choices – string containing all the chars can be used to build the string
|
-
sample_data_utils.text.rtext(maxlength, minlength=1, choices='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ')[source]
returns a random (variable length) string.
Parameters: |
- maxlength – maximum string length
- minlength – minimum string length
- choices – string containing all the chars can be used to build the string
|