Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hrishikeshio/Faker.py
Python library to generate fake data
https://github.com/hrishikeshio/Faker.py
Last synced: 13 days ago
JSON representation
Python library to generate fake data
- Host: GitHub
- URL: https://github.com/hrishikeshio/Faker.py
- Owner: hrishikeshio
- Created: 2013-03-16T11:54:47.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-03-17T05:10:09.000Z (over 11 years ago)
- Last Synced: 2024-09-20T10:36:52.756Z (about 2 months ago)
- Language: Python
- Size: 195 KB
- Stars: 20
- Watchers: 5
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Faker.py - Generate any amount of fake data for python
========Usage
======
```python
from faker import name
random_name = name.find_name() #" 'Darrin Schmitt'
```
Installation$ sudo pip install faker.py
Or clone the git repo and install from source
$ git clone https://github.com/hrishikeshio/Faker.py.git
$ cd Faker.py
$ sudo python setup.py install## API
- Name
- first_name
- last_name
- find_name
- Address
- zip_code
- zip_code_format
- city
- street_name
- street_address
- secondary_address
- br_state
- uk_county
- uk_country
- us_state
- Phone_number
- phone_number
- phone_number_format
- Internet
- user_name
- domain_name
- domain_word
- ip
- Company
- suffixes
- company_name
- company_suffix
- catch_phrase
- bs
- Lorem
- words
- sentence
- sentences
- paragraph
- paragraphs
- Helper
- randomize
- slugify
- replace_symbol_with_number
- shuffle
- Cards
- create_card
- user_card
- random
- number
- list_element
- city_prefix
- city_suffix
- street_suffix
- br_state
- br_state_abbr
- us_state
- us_state_abbr
- uk_county
- uk_country
- first_name
- last_name
- name_prefix
- name_suffix
- catch_phrase_adjective
- catch_phrase_descriptor
- catch_phrase_noun
- bs_adjective
- bs_buzz
- bs_noun
- phone_formats
- domain_suffix
- definitions
- first_name
- last_name
- name_prefix
- name_suffix
- br_state
- br_state_abbr
- us_state
- us_state_abbr
- city_prefix
- city_suffix
- street_suffix
- uk_county
- uk_country
- catch_phrase_adjective
- catch_phrase_descriptor
- catch_phrase_noun
- bs_adjective
- bs_buzz
- bs_noun
- domain_suffix
- lorem
- phone_formats
## Author
#### Hrishikesh Huilgolkar
Follow on twitter http://twitter.com/hrishikeshio
My Blog http://blogicious.com
Ported from javascript library Faker.js by Matthew Bergman & Marak Squires http://github.com/marak/Faker.js/
Copyright (c) 2013 Hrishikesh Huilgolkar http://github.com/hrishikeshio/Faker.py/
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.