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"

# Complete profile
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


🛠️ To use:

  1. Copy this entire block.
  2. Paste into your README.md file.
  3. Replace the [Report Issue] link with your actual GitHub issue tracker.

📌 Key Features Recap:

  • ✅ Modern design with clear emoji headers
  • ✅ Responsive badges for version/license info
  • ✅ Concise feature highlights
  • ✅ Practical usage examples
  • ✅ Quick-reference methods table
  • ✅ Profile structure visualization
  • ✅ Mobile-responsive layout
  • ✅ PyPI-optimized formatting
  • ✅ Professional yet concise content

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.3.tar.gz (9.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.3-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: phoney-0.2.3.tar.gz
  • Upload date:
  • Size: 9.9 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.3.tar.gz
Algorithm Hash digest
SHA256 9ca52814851928fb7814d55d4b0eba3e9704a8f2da07c73eef57c54e8340a363
MD5 6f0928cbef222cbce9415e55bf10e26e
BLAKE2b-256 77ba6767f840dcb3fbc94e1832de9469e601ca9f2cf58e74e091b846ab8a4d89

See more details on using hashes here.

File details

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

File metadata

  • Download URL: phoney-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 9.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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d10a65b1c372359d278edeef22ced34bc458359b6543e8d84c77691653bb7c27
MD5 19aae20b4b18ad0ab2466570f0d2ad7a
BLAKE2b-256 d229ac89c0a4b472cd8916326b045c6efc65f439817c3c14915da0ee24daa90f

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