Skip to main content

Fake Info generator, a library for generating realistic personal data like names, phone numbers, emails, and more.

Project description

🌐 Phoney - Realistic Fake Data Generator

PyPI Version License: MIT Python Versions

Generate locale-aware fake personal data for testing, development, and anonymization. Perfect for populating databases and creating test users.


✨ Features

  • 50+ locales including en_US, fr_FR, ja_JP, de_DE
  • Complete profiles with names, emails, phones, and birthdates
  • Gender-specific name generation
  • Zero dependencies — lightweight and fast

📦 Installation

pip install phoney

🚀 Basic Usage

from phoney import Phoney

phoney = Phoney()

# Individual data
title = phoney.first_name(locale="it_IT")
print(title)  # → "Marco"

print(phoney.phone(locale="ja_JP"))  # → "+81 90-1234-5678"

profile = phoney.profile(locale="es_ES")
print(profile)

📚 Key Methods

Method Description Example Usage
first_name() Generate first name first_name(gender="female")
last_name() Generate last name last_name(locale="fr_FR")
full_name() Generate full name full_name(gender="male")
phone() Generate phone number phone(locale="en_US")
email() Generate email address email(first_name="john")
profile() Generate complete profile profile(locale="de_DE")

🧩 Profile Structure

{
  'first_name': 'Sophie',
  'last_name': 'Martin',
  'gender': 'female',
  'age': 34,
  'birthdate': datetime.date(1990, 5, 12),
  'email': 'sophie.martin@example.fr',
  'phone': '+33 6 12 34 56 78',
  'locale': 'fr_FR'
}

🌍 Supported Locales

US, UK, Canada, France, Germany, Italy, Spain, Japan, Brazil, Russia, China + 40 more


📜 License

MIT — Free for commercial and personal use. Developed by rarfileReport Issue

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.12.tar.gz (181.9 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.12-py3-none-any.whl (191.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phoney-0.2.12.tar.gz
  • Upload date:
  • Size: 181.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for phoney-0.2.12.tar.gz
Algorithm Hash digest
SHA256 b466f38729051917a60f987c1f880014fca4eca3616d2b014cac48ea81419c6d
MD5 c1a9ac6f8abe4a8d558bdf240b6429f8
BLAKE2b-256 bdf90f54d961ac4c7be00f3b5aad64f1d00033ec37162efd827fb7546f967ca7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phoney-0.2.12-py3-none-any.whl
  • Upload date:
  • Size: 191.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for phoney-0.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 9c170de2e4d0fbea166931ced1dce164592dab12923b25ad1a552ebb2edc7d2e
MD5 28aa2f5a50fd30e12d76d408139f0292
BLAKE2b-256 d93ff4bc75634ef34ed5d121f5fd97a8a2ac1444a3449cda3d9e9d5f835e8b6f

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