Skip to main content

A library for generating fake user data

Project description

    .....                            ..
 .H8888888x.  '`+              < .z@8"`
:888888888888x.  !              !@88E                      .u    .
8~    `"*88888888"       u      '888E   u         .u     .d88B :@8c
!      .  `f""""      us888u.    888E u@8NL    ud8888.  ="8888f8888r
 ~:...-` :8L <)88: .@88 "8888"   888E`"88*"  :888'8888.   4888>'88"
    .   :888:>X88! 9888  9888    888E .dN.   d888 '88%"   4888> '
 :~"88x 48888X ^`  9888  9888    888E~8888   8888.+"      4888>
<  :888k'88888X    9888  9888    888E '888&  8888L       .d888L .+
  d8888f '88888X   9888  9888    888E  9888. '8888c. .+  ^"8888*"
 :8888!    ?8888>  "888*""888" '"888*" 4888"  "88888%       "Y"
 X888!      8888~   ^Y"   ^Y'     ""    ""      "YP'
 '888       X88f
  '%8:     .8*"
     ^----~"`

NOTE: This package is being deprecated

You should use [fake-factory](https://pypi.python.org/pypi/fake-factory) instead. After Sept 15, 2016 the PyPi faker package will point to new [faker](https://github.com/joke2k/faker).

Faker

A Python library for generating fake user data. Perl’s got one, Ruby’s got one, now Pythonistas envy no longer.

Usage

>>> from faker import Faker
>>> f = Faker()
>>> f.name()
"Milli Vanilli"
>>> f.username()
"mvanilli"
>>> f.email()
"mvanilli@hotmail.com"
>>> f.company()
"Scrodiant Labs"

OR

>>> from faker import Faker
>>> f = Faker()
>>> for i in range(3):
...     f.name()
...     f.username()
...     f.email()
...     f.phonenumber()
...     f.full_address()
...     f.company()
...
"Ola Rice"
"orice"
"orice@hotmail.com"
"289-554-46105"
"824 Colleen Square\nFrancescamouth, AK 65473"
"Yeddjam"
"Jaron Oberbrunner"
"joberbrunner"
"joberbrunner@gmail.com"
"213-543-45170"
"149 Fay Points 111\nWest Braulioland, MD 63587-2095"
"Plurbee"
"Brielle Hegmann"
"bhegmann"
"bhegmann@hotmail.com"
"553-104-17156"
"96397 Colleen Square\nWest Braulioland, OH 75395"
"Twispace"

Installation

pip:

pip install faker

source:

git clone git@github.com:deepthawtz/faker.git
cd faker
python setup.py install

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

Faker-0.1.4.tar.gz (18.1 kB view details)

Uploaded Source

File details

Details for the file Faker-0.1.4.tar.gz.

File metadata

  • Download URL: Faker-0.1.4.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Faker-0.1.4.tar.gz
Algorithm Hash digest
SHA256 13c64041445aef2b692209127e2de6b4df77344953598079cc66f8fbf859a08d
MD5 6fe48f446453555231ad9d5911d95f05
BLAKE2b-256 7117f32967b4a0d63bbd2cf4213e93e5baccee79442574de3e8e7cf98e12b003

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page