basic Module

Generate misc random data.

forgery_py.forgery.basic.hex_color()[source]

Random HEX color.

forgery_py.forgery.basic.hex_color_short()[source]

Random short (e.g. FFF color).

forgery_py.forgery.basic.text(length=None, at_least=10, at_most=15, lowercase=True, uppercase=True, digits=True, spaces=True, punctuation=False)[source]

Random text.

If length is present the text will be exactly this chars long. Else the text will be something between at_least and at_most chars long.

Previous topic

address Module

Next topic

currency Module

This Page