パッケージ、リポジトリ、アプリカテゴリを検索

GitHub リポジトリmohamedelbaiomy/egyptian-id-parser

エジプト国民証明書パーサー

14桁のエジプト国民ID番号に基づいて、生年月日、性別、州などの個人情報を抽出する機能を提供するDartパッケージ。

エジプト国民証明書パーサー のプロジェクト画像
スター
9
フォーク
2
最終プッシュ(UTC)
2025/10/30
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

Egyptian ID Parser

pub package MIT License Latest Dartdocs Language: Dart GitHub stars All Contributors likes popularity pub points

The Egyptian ID Parser is a Dart package designed to extract personal information from the Egyptian National ID number. This package enables developers to easily retrieve essential details, including date of birth, gender, and governorate, from the 14-digit national ID.

Features

  • Extract Birth Date: Retrieve the birth date in the format YYYY-MM-DD from the national ID.
  • Determine Gender: Identify the gender (male or female) based on the national ID.
  • Identify Governorate: Find the governorate of residence linked to the national ID.
  • Calculate Age: Compute the age in years, months, and days from the birth date.

Usage

  1. To use the Egyptian ID Parser package, add it to your pubspec.yaml file and import it into your project.
dependencies:
  egyptian_id_parser: ^1.1.0
  1. create an instance of EgyptianIdParser with a valid ID number to access birth date, governorate, gender, and age information. :

import 'package:egyptian_id_parser/egyptian_id_parser.dart';

void main() {
  String idNumber = "12345678901234"; // Replace with a valid ID number
  var id = EgyptianIdParser(idNumber);

  print('Birth Date: ${id.birthDate}');
  print('Governorate: ${id.governorate}');
  print('Gender: ${id.gender}');
  print('Age: ${id.age}');
}

🔗 Mohamed Elbaiomy

  • linkedin
  • youtube
  • facebook

Mohamed Elbaiomy GitHub avatar
GitHub 作者

Mohamed Elbaiomy ↗

Student at the Faculty of Computers & Artificial Intelligence, highly dedicated to mobile development with a particular focus on Flutter.

言語Dart

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 2 件

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗