Fake Info generator, a library for generating realistic personal data like names, phone numbers, emails, and more.
Project description
Phoney
Phoney is a Python library for generating realistic fake personal data, similar to Faker. It can create names, phone numbers, emails, ages, birthdates, and full profiles for many locales.
Features
- Generate first names, last names, and full names
- Locale-aware phone numbers and emails
- Realistic age and birthdate generation
- Complete fake profiles (name, gender, age, birthdate, email, phone, locale)
- Easy-to-use API:
phoney = Phoney()
Installation
pip install phoney
Usage
from phoney import Phoney
phoney = Phoney()
print(phoney.first_name(gender="male", locale="en_GB"))
print(phoney.last_name(locale="fr_FR"))
print(phoney.phone(locale="en_US"))
print(phoney.email(first_name="jim", last_name="cooley", locale="en_US"))
print(phoney.profile(locale="de_DE"))
License
MIT
Author
rarfile
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phoney-0.2.1.tar.gz.
File metadata
- Download URL: phoney-0.2.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2aa1e784bb5429c62dae9900744376d880f2aec520441cdc958d1b95871f18cf
|
|
| MD5 |
40026c727a91fffe1e42d749ed532d35
|
|
| BLAKE2b-256 |
fb94d14dcbe9b9bd2731d165efffa7f745747213a61847d83e5bbf22135a1b68
|
File details
Details for the file phoney-0.2.1-py3-none-any.whl.
File metadata
- Download URL: phoney-0.2.1-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e177121f884232d274f60979a0b7ead17fc47818aed6d341167edef8d602d4b
|
|
| MD5 |
3908e8c29484b66617b0ce7c55e3bdfb
|
|
| BLAKE2b-256 |
b1e55f7df60eedad7e91a5faa6952669566c1918f06afb593cc85741b980663f
|