Giter Site home page Giter Site logo

faker's Introduction

Build Status

    .....                            ..
 .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*"
     ^----~"`

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()
"[email protected]"
>>> 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"
"[email protected]"
"289-554-46105"
"824 Colleen Square\nFrancescamouth, AK 65473"
"Yeddjam"
"Jaron Oberbrunner"
"joberbrunner"
"[email protected]"
"213-543-45170"
"149 Fay Points 111\nWest Braulioland, MD 63587-2095"
"Plurbee"
"Brielle Hegmann"
"bhegmann"
"[email protected]"
"553-104-17156"
"96397 Colleen Square\nWest Braulioland, OH 75395"
"Twispace"

Installation

pip:

pip install faker

source:

git clone [email protected]:deepthawtz/faker.git
cd faker
python setup.py install

faker's People

Contributors

deepthawtz avatar spookylukey avatar hayd avatar koterpillar avatar hllau avatar mgedmin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.