faker-egy-names
Faker provider for Egyptian names. It does not sample names itself — every call goes to egy-names 0.3.2 generate().
This is a companion package. egy-names stays offline, zero-dependency, and unchanged. PHP engine: afify/egy-names. PHP Faker: afify/faker-egy-names. Product page: afify.co/egy-names. Story: The Secret Code of Egyptian Names.
Install
pip install faker-egy-names
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.
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 faker_egy_names-0.1.1.tar.gz.
File metadata
- Download URL: faker_egy_names-0.1.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3adf71776e0e1a74516c8b18bc5af4906acaaf50102f24be24a143102153cdb
|
|
| MD5 |
4b285c8645c5c542791db787c4a79099
|
|
| BLAKE2b-256 |
a01b79e7106fd0a2962680c0b3b6facf36f38e76f4e1dfcde619236c8492f8b7
|
File details
Details for the file faker_egy_names-0.1.1-py3-none-any.whl.
File metadata
- Download URL: faker_egy_names-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9e04b92baae4f9b7b50f99c6fd8f49b1d888f068643b5b2e7774d9187d8cf8d
|
|
| MD5 |
99d2a94773cbe2448f11bc16ec286926
|
|
| BLAKE2b-256 |
7ebd4d749b476a5e64069314d3b7162a6db26ed3b9112884a590183962916e49
|