ForgeryPy documentation

ForgeryPy is an easy to use forged data generator. It’s a (somewhat incomplete) port of forgery Ruby gem.

Example usage

>>> import forgery_py
>>> forgery_py.address.street_address()
u'4358 Shopko Junction'
>>> forgery_py.basic.hex_color()
>>> forgery_py.currency.description()
u'Slovenia Tolars'
>>>, 7, 27)
>>> forgery_py.internet.email_address()
>>> forgery_py.lorem_ipsum.title()
u'Pretium nam rhoncus ultrices!'
u'Mary Peters'
>>> forgery_py.personal.language()

Source code and license

Much like the original Ruby gem this module is licensed under MIT License.

Source code is available on GitHub.

Indices and tables

Table Of Contents

Next topic

address Module

This Page