An easy to use forged data generator for Python
Project description
ForgeryPy
=========
ForgeryPy is an easy to use forged data generator. It's a (somewhat incomplete)
port of `forgery Ruby gem <http://rubygems.org/gems/forgery>`_.
Example usage
-------------
>>> import forgery_py
>>> forgery_py.address.street_address()
u'4358 Shopko Junction'
>>> forgery_py.basic.hex_color()
'3F0A59'
>>> forgery_py.currency.description()
u'Slovenia Tolars'
>>> forgery_py.date.date()
datetime.date(2012, 7, 27)
>>> forgery_py.internet.email_address()
u'brian@zazio.mil'
>>> forgery_py.lorem_ipsum.title()
u'Pretium nam rhoncus ultrices!'
>>> forgery_py.name.full_name()
u'Mary Peters'
>>> forgery_py.personal.language()
u'Hungarian'
Credits
-------
The project uses dictionary files from `forgery Ruby gem <https://github.com/sevenwire/forgery>`_.
License
-------
MIT-style, see LICENSE
=========
ForgeryPy is an easy to use forged data generator. It's a (somewhat incomplete)
port of `forgery Ruby gem <http://rubygems.org/gems/forgery>`_.
Example usage
-------------
>>> import forgery_py
>>> forgery_py.address.street_address()
u'4358 Shopko Junction'
>>> forgery_py.basic.hex_color()
'3F0A59'
>>> forgery_py.currency.description()
u'Slovenia Tolars'
>>> forgery_py.date.date()
datetime.date(2012, 7, 27)
>>> forgery_py.internet.email_address()
u'brian@zazio.mil'
>>> forgery_py.lorem_ipsum.title()
u'Pretium nam rhoncus ultrices!'
>>> forgery_py.name.full_name()
u'Mary Peters'
>>> forgery_py.personal.language()
u'Hungarian'
Credits
-------
The project uses dictionary files from `forgery Ruby gem <https://github.com/sevenwire/forgery>`_.
License
-------
MIT-style, see LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ForgeryPy-0.1.tar.gz
(27.2 kB
view details)
File details
Details for the file ForgeryPy-0.1.tar.gz
.
File metadata
- Download URL: ForgeryPy-0.1.tar.gz
- Upload date:
- Size: 27.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5968979f57068cf153156bc8b940a4670ac7059487ed7b9bb03995d79c0f552 |
|
MD5 | 66555becf769d7a7921b0d6183b2f953 |
|
BLAKE2b-256 | de668a29d7163b528d2d5c3ccc98e621959723b7eeb010e38c11f1404313e2b7 |