Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 82 lines (68 sloc) 2.044 kB
04322a7 @deepthawtz README in markdown
deepthawtz authored
1 ..... ..
2 .H8888888x. '`+ < .z@8"`
3 :888888888888x. ! !@88E .u .
4 8~ `"*88888888" u '888E u .u .d88B :@8c
5 ! . `f"""" us888u. 888E u@8NL ud8888. ="8888f8888r
6 ~:...-` :8L <)88: .@88 "8888" 888E`"88*" :888'8888. 4888>'88"
7 . :888:>X88! 9888 9888 888E .dN. d888 '88%" 4888> '
8 :~"88x 48888X ^` 9888 9888 888E~8888 8888.+" 4888>
9 < :888k'88888X 9888 9888 888E '888& 8888L .d888L .+
10 d8888f '88888X 9888 9888 888E 9888. '8888c. .+ ^"8888*"
11 :8888! ?8888> "888*""888" '"888*" 4888" "88888% "Y"
12 X888! 8888~ ^Y" ^Y' "" "" "YP'
13 '888 X88f
14 '%8: .8*"
15 ^----~"`
16
17 Faker
18 =====
19
20 A Python library for generating fake user data.
ef92033 @deepthawtz - added company() to generate stupid company names
deepthawtz authored
21 Perl's got one, Ruby's got one, now Pythonistas envy no longer.
04322a7 @deepthawtz README in markdown
deepthawtz authored
22
23 Usage
24 =====
25
26 >>> from faker import Faker
27 >>> f = Faker()
28 >>> f.name()
29 "Milli Vanilli"
30 >>> f.username()
31 "mvanilli"
32 >>> f.email()
33 "mvanilli@hotmail.com"
ef92033 @deepthawtz - added company() to generate stupid company names
deepthawtz authored
34 >>> f.company()
35 "Scrodiant Labs"
04322a7 @deepthawtz README in markdown
deepthawtz authored
36
37 OR
38
39 >>> from faker import Faker
40 >>> f = Faker()
41 >>> for i in range(3):
42 ... f.name()
43 ... f.username()
44 ... f.email()
45 ... f.phonenumber()
46 ... f.full_address()
ef92033 @deepthawtz - added company() to generate stupid company names
deepthawtz authored
47 ... f.company()
04322a7 @deepthawtz README in markdown
deepthawtz authored
48 ...
ef92033 @deepthawtz - added company() to generate stupid company names
deepthawtz authored
49 "Ola Rice"
50 "orice"
51 "orice@hotmail.com"
52 "289-554-46105"
53 "824 Colleen Square\nFrancescamouth, AK 65473"
54 "Yeddjam"
55 "Jaron Oberbrunner"
56 "joberbrunner"
57 "joberbrunner@gmail.com"
58 "213-543-45170"
59 "149 Fay Points 111\nWest Braulioland, MD 63587-2095"
60 "Plurbee"
61 "Brielle Hegmann"
62 "bhegmann"
63 "bhegmann@hotmail.com"
64 "553-104-17156"
65 "96397 Colleen Square\nWest Braulioland, OH 75395"
66 "Twispace"
04322a7 @deepthawtz README in markdown
deepthawtz authored
67
68
ef92033 @deepthawtz - added company() to generate stupid company names
deepthawtz authored
69 Installation
70 ============
71
72 pip:
73
74 pip install faker
75
76 source:
77
78 git clone git@github.com:deepthawtz/faker.git
79 cd faker
80 python setup.py install
04322a7 @deepthawtz README in markdown
deepthawtz authored
81
Something went wrong with that request. Please try again.