Egy-Names — Egyptian Patronymic Name Engine · محرك ومعجم الأسماء والأنساب المصرية
No first name. No last name. الاسم المصري نسبٌ متصل وسلسلة أجيال، وليس مجرد اسمٍ أول واسم عائلة.
Overview · مقدمة
A legal Egyptian name is a chain: you, your father, his father, the house. Forms ask for two fields and lose the rest. Egypt does not mint a new vocabulary for each child. The same lemmas walk that chain. محمد occurs millions of times. الشرقاوي occurs tens of thousands. This book was cut from 15,875,535 official records — all 27 governorates, five national cohorts, 494 archives, more than 63 million name tokens. Split every chain. Fold every spelling. 44,626 lemmas remain. They cover more than 99.9% of those names. That is the name stock of the country. Arabic and Egyptian Latin. On your machine.
That is why this library covers almost the entire Egyptian population. If it is a legal name, it is almost certainly in this book.
الاسم القانوني في مصر هو سلسلة نسب ممتدة تربط الفرد بأبيه وجده وأسلافه وعائلته. غير أن استمارات التسجيل وقواعد البيانات العالمية تختزل هذا الإرث في خانتين غربيتين: «الاسم الأول» و«اسم العائلة»، مما يمحو ثلاثة أجيال من الهوية. إن المجتمع المصري لا يبتكر معجماً لغوياً جديداً لكل مولود، بل تتوارث الأجيال نفس المداخل المعجمية عبر سلسلة النسب؛ حيث يتكرر اسم «محمد» ملايين المرات، ولقب «الشرقاوي» بعشرات الآلاف. استُخلص هذا المعجم المرجعي بدقة متناهية من واقع ١٥٬٨٧٥٬٥٣٥ سجلاً رسمياً غطت محافظات مصر السبع والعشرين عبر خمس دفعات قومية و٤٩٤ أرشيفاً، محتويةً على أكثر من ٦٣ مليون اسم. وعبر تفكيك كل سلسلة نسب ومعالجة كافة التباينات الإملائية يدوياً، استقر المعجم على ٤٤٬٦٢٦ مدخلاً معيارياً تغطي أكثر من ٩٩٫٩٪ من التعداد السكاني. هذا هو المرجع اللغوي الشامل لأسماء مصر — بالرسم العربي واللاتيني المعتمد رسمياً — يعمل محلياً بالكامل على جهازك دون اتصال.
- 15,875,535 official records · ١٥٬٨٧٥٬٥٣٥ سجلاً رسمياً
- 63,000,000+ name tokens across 27 Egyptian governorates · ٢٧ محافظة مصرية
- 44,626 canonical lemmas · ٤٤٬٦٢٦ مدخلاً معيارياً
- 23,457 deterministic hand-written rules from 43,333 surface spellings
- >99.9% population coverage, works 100% offline across 8 SDKs (Python, TypeScript/Node, PHP, Dart/Flutter, C#/.NET, Java/Maven, Swift, C++)
Origin & Methodology · الأصل والمنهجية
The student files were already public. Thanaweya Amma. Every governorate. People opened them for degrees. In front of every mark sat a legal Egyptian name — you, father, grandfather, house. That unused chain was the opportunity. We took it.
There was no API. There were 494 national-exam archives, ten graduating classes, all 27 governorates, and 15,875,535 official student rows — more than 63 million names sitting in the chain. The archive typed under pressure. 43,333 surface spellings. Ya written as ى. Hamza dropped. عبد glued to the next word. Each map is a hand-written rule. None of it was guessed. 23,457 rules collapse those surfaces into 44,626 lemmas. Arabic and Egyptian Latin. On this machine. Offline. Nothing leaves.
كانت سجلات الطلاب والامتحانات القومية متاحة في الفضاء العام لجميع المحافظات. فتحها الناس بحثاً عن المجموع والترتيب؛ لكن أمام كل درجة أكاديمية كانت تنبض سلسلة نسب مصرية أصيلة: الاسم الشخصي، فالأب، فالجد، فالعائلة. كان هذا الإرث المهمل كنزاً معرفياً ولغوياً ينتظر من يستخلصه، فكانت انطلاقة هذا المشروع.
SDK Packages & Open Data · الحزم البرمجية والمصادر
- Python (PyPI):
pip install egy-names==0.3.6&pip install faker-egy-names - TypeScript / Node (npm):
npm install egy-names@0.3.6 - PHP (Packagist):
composer require afify/egy-names&composer require afify/faker-egy-names - Dart / Flutter (Pub):
flutter pub add egy_names:^0.3.6 - C# / .NET (NuGet):
dotnet add package egy-names --version 0.3.6 - Java / Android (Maven / JitPack):
io.github.abdullahafifykhalil:egy-names:0.3.6 - Swift (Swift Package Manager):
from: "0.3.8" - C++ (CMake FetchContent):
GIT_TAG v0.3.8 - GitHub Repository: github.com/AbdullahAfifyKhalil/egy-names
- Hugging Face Datasets: huggingface.co/Abdullah-afify