Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phoney-0.2.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phoney-0.2.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file phoney-0.2.2.tar.gz.

File metadata

  • Download URL: phoney-0.2.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for phoney-0.2.2.tar.gz
Algorithm Hash digest
SHA256 75f1e3a0542526a45bb99234092c810dd0edc6c291c6e408fc15fd3e25746bda
MD5 f7e284c1eaf812fae21b3710b87de77d
BLAKE2b-256 035bb05ba026b451c9f33f4b33de120c9ac4da5afb8cea67037e5170306894af

See more details on using hashes here.

File details

Details for the file phoney-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: phoney-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for phoney-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3ba5947f240686fb763b3dfdc7e5bb4a37551ee0aaa3ad46197aa86c56b5d3de
MD5 564b6df568ec32185a76fb466b00b10b
BLAKE2b-256 0c3318d52896a4f09919c3a47165d7e89821d3d275c659a0b315223fa27ed86e

See more details on using hashes here.

Supported by

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