Buscar pacotes, repositórios e categorias de apps

Repositório GitHubmohamedelbaiomy/egyptian-id-parser

parser de identidade egípcio

Um pacote Dart que fornece funcionalidades para extrair informações pessoais do número de identidade nacional egípcio, como data de nascimento, sexo e governadorado com base no número de identidade nacional de 14 dígitos.

Capa do projeto parser de identidade egípcio
Estrelas
9
Forks
2
Último push (UTC)
30 de out. de 2025
Status do projeto
Ativo

README original

Texto original em inglês. Visite o GitHub para a versão atual.

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
Autor no GitHub

Mohamed Elbaiomy ↗

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

LinguagensDart

Pacotes publicados por este repositório

Dependências usadas

Lista de dependências 2 itens

  • lintsDesenvolvimento^6.0.0
  • testDesenvolvimento^1.26.3

Como escolher um repositório para seu projeto?

Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.

  1. Busque por nome, autor ou descrição e filtre por tema.
  2. Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
  3. Confira o README, a licença e as issues no GitHub antes de usar o projeto.

Fontes e manutenção

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

GitHub Docs — About repositories ↗