Crate fakedata_generator

Source

Modules§

data

Functions§

gen_domain
Generate a random domain name from a small list of predefined values
gen_email
Return a randomly generated e-Mail address. This generator uses the gen_username generator.
gen_enum
Return random string from set of specified strings. Specify a comma separated list as argument.
gen_http_method
Return random HTTP Method, taken from https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods Possible values:
gen_int
Return random integer in range. Must specify 1 or 2 numbers separated by comma. If 1 argument is specified it is handled as “highest” value and 0 is used as lowest value.
gen_ipv4
Generate IP address in v4 format (xxx.xxx.xxx.xxx)
gen_password
Returns a random password (= string of random chars)
gen_password_with_special_chars
Returns a random password (= string of random chars) with special chars
gen_private_ipv4
Generate a private IP address.
gen_username
Returns a random username from a small list