egy-names 0.3.6

dotnet add package egy-names --version 0.3.6
                    
NuGet\Install-Package egy-names -Version 0.3.6
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="egy-names" Version="0.3.6" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="egy-names" Version="0.3.6" />
                    
Directory.Packages.props
<PackageReference Include="egy-names" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add egy-names --version 0.3.6
                    
#r "nuget: egy-names, 0.3.6"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package egy-names@0.3.6
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=egy-names&version=0.3.6
                    
Install as a Cake Addin
#tool nuget:?package=egy-names&version=0.3.6
                    
Install as a Cake Tool

egy-names (.NET)

Egyptian names engine for C# / .NET. Same book as the other SDKs — 44,626 lemmas, offline.

A legal Egyptian name is a patronymic chain, not a first name and a last name. This package generates, translates, splits, and corrects those chains.

afify.co/egy-names — origin, process, insights, lab, examples, and demo.

The Secret Code of Egyptian Names — how the engine was built.

Accuracy

The book comes from real records. Some names will still come back wrong — a rare spelling, a name the catalog has never seen. If you find one, open an issue.

Install

dotnet add package egy-names --version 0.3.6

Use

using EgyptianNames;

var e = new EgyptianNamesEngine();

Console.WriteLine(string.Join(", ", e.Split("محمدأحمدعليحسنالشناوي")));
Console.WriteLine(e.Translate("محمد أحمد علي الشناوي"));
Console.WriteLine(e.Correct("احمد مصطفا عبد الرحيم"));

var name = e.Generate(count: 1, length: 4, gender: Gender.Female, religion: Religion.Muslim)[0];
Console.WriteLine($"{name.Ar}  {name.En}");

Console.WriteLine(e.IsValid("محمد"));   // true
Console.WriteLine(e.IsValid("الله"));   // false — in the index, not a person's name

Console.WriteLine(e.DetectGender("فاطمة محمد علي"));     // first personal token wins
Console.WriteLine(e.DetectReligion("مينا جرجس بطرس"));

Full API: DOCUMENTATION.md. Runnable script: examples/csharp/.

Other languages

Same book, other SDKs — no samples here. See the repo and afify.co/egy-names.

License

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.6 51 8/31/2026
0.3.2 68 8/25/2026
0.1.1 92 8/18/2026