Repository avatar
Other Tools
v1.0.0
active

nbrain-polars-arrow-mena

io.github.NBrain-Studio/nbrain-polars-arrow-mena

Polars, Apache Arrow & columnar MENA 2/3-decimal VAT, Arab IBAN MOD-97 & Arabic NLP MCP

Documentation

nbrain-polars-arrow-mena

High-Throughput Columnar Batch Engine, Native Polars Namespace Plugin (df.nbrain.*), PyArrow Schema Bridge & Official MCP Server for MENA Financial & Arabic Lakehouses

Capabilities

  • 8-Currency MENA Minor-Unit & Decimal Batch VAT: Automatic 0.01 (SAR, AED, EGP, QAR) vs 0.001 (JOD, BHD, OMR, KWD) ROUND_HALF_UP quantization with integer minor-unit (halala / fils / piastre / baisa) outputs for Arrow int64 columns.
  • 12-Country Arab IBAN ISO 13616 MOD-97-10 Verifier: Exact length & checksum verification across SA (24), AE (23), EG (29), JO (30), BH (22), KW (30), QA (29), OM (23), LB (28), TN (24), MR (27), and IQ (23).
  • Deterministic Arabic Lakehouse Normalizer: Converts Eastern Arabic (٠-٩) and Extended Arabic-Indic (۰-۹) digits, strips diacritics (tashkeel) and tatweel, and normalizes Alef/Teh-Marbuta/Yeh for zero-drift entity joins.