Skip to main content

faker-egy-names (Python)

Faker provider for Egyptian names. It does not sample names itself — every call goes to egy-names 0.3.6 generate().

This is the Python companion (0.1.2). egy-names stays offline and unchanged. Need the same fixtures in PHP? afify/faker-egy-names. Product page: afify.co/egy-names. Story: The Secret Code of Egyptian Names.

Install

pip install faker-egy-names==0.1.2

Requires egy-names>=0.3.6,<0.4 and Faker>=18.

Use

from faker import Faker
from faker_egy_names import Provider

fake = Faker()
fake.add_provider(Provider)

# Coherent 6-slot chain (use this for one person)
name = fake.egyptian_name(gender="female", religion="muslim")
print(name.ar)   # يارا عادل فاروق الشناوي
print(name.en)   # Yara Adel Farouk Elshenawy
print(name.parts_ar)

# Slot helpers — each call generates a new chain
fake.egyptian_full_name()                    # English full name
fake.egyptian_full_name("ar")                # Arabic full name
fake.egyptian_full_name(lang="both")         # (ar, en)
fake.egyptian_person(gender="male")
fake.egyptian_father()
fake.egyptian_grandfather()
fake.egyptian_family()

Or:

from faker_egy_names import egyptian_faker

fake = egyptian_faker()
fake.egyptian_full_name(religion="christian", length=4, seed=1)

Faker.seed_instance(n) is honored unless you pass seed= yourself.

Methods

Method Returns
egyptian_name(...) GeneratedName (ar, en, parts_ar, parts_en)
egyptian_full_name(lang="en", ...) Full patronymic string
egyptian_person(lang="en", ...) Slot 1 — the person
egyptian_father(lang="en", ...) Slot 2 — father
egyptian_grandfather(lang="en", ...) Slot 3 — grandfather
egyptian_family(lang="en", ...) Final clan / toponymic surname

Shared keyword arguments (passed through to egy-names.generate()):

gender, religion, length, family_name, frequency, seed

lang is "en", "ar", or "both". There is no first_name / last_name mapping — that flattening is what this library exists to avoid.

Slot helpers on separate calls are not the same person. For one fixture, call egyptian_name() once and read parts_ar / parts_en.

License

MIT. Copyright (c) 2026 Afify by Abdullah Afify. An Afify open-source project.

Metadata

Release files for faker-egy-names 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for faker-egy-names 0.1.2
File Size Uploaded
faker_egy_names-0.1.2.tar.gz 5.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for faker-egy-names 0.1.2
File Interpreter ABI Platform
faker_egy_names-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / faker_egy_names-0.1.2.tar.gz

Download URL faker_egy_names-0.1.2.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
982b888489d05bd04922a1e3c13aef71de9b356a03cf54531369a5e791e91f97
BLAKE2b-256 checksum
How to use checksums
3259cdeb2fe75f8b3e6492ca8594af8b23b58f9535ce1bf1df723aeff18e9792
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Release files / faker_egy_names-0.1.2-py3-none-any.whl

Download URL faker_egy_names-0.1.2-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26fd8069bcb959b9c9bd1e3277ce3aefc97823c64252f8c08474d56fc2469375
BLAKE2b-256 checksum
How to use checksums
5829b9e90438b9a6ddfc32e72ede949b94c69c3cadbb6f9dc15a2eff4b2fa044
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page