maha.constants#

Subpackages#

Submodules#

Package Contents#

ARABIC_LETTERS :list[str]#

List of Arabic letters

SIMPLE_HARAKAT :list[str]#

Harakat that can be written anywhere in a word

TANWEN :list[str]#

Harakat that are written at the end of a word

HARAKAT :list[str]#

Common Harakat

ALEF_VARIATIONS :list[str]#

Variations of the letter ALEF

LAM_ALEF_VARIATIONS :list[str]#

Variations of the one-letter LAM_ALEF

LAM_ALEF_VARIATIONS_NORMALIZED :list[str]#

Normalized variations of the one-letter LAM_ALEF

WAW_VARIATIONS :list[str]#

Variations of the letter WAW

YEH_VARIATIONS :list[str]#

Variations of the letter YEH

ARABIC_NUMBERS :list[str]#

List of eastern Arabic numerals, a.k.a Indic numerals

ARABIC_PUNCTUATIONS :list[str]#

Arabic punctuations.

ARABIC_LIGATURES :list[str]#

Arabic word ligatures.

ARABIC_LIGATURES_NORMALIZED :list[str] = ['صلى', 'قلى', 'الله', 'اكبر', 'محمد', 'صلى الله عليه وسلم', 'رسول', 'عليه', 'وسلم', 'صلى', 'صلى...#

Arabic normalized word ligatures.

SMALL_HARAKAT :list[str]#

Small harakat

OTHER_HARAKAT :list[str]#

Other harakat

ALL_HARAKAT#

All harakat from the unicode block 0600–06FF

ARABIC :list[str]#

Common Arabic characters

ARABIC_DOTLESS_MAP :dict[str, str]#

Mapping between Arabic dotted and dotless letters

ALEF :str = ا#

Arabic Letter Alef

BEH :str = ب#

Arabic Letter Beh

TEH :str = ت#

Arabic Letter Teh

THEH :str = ث#

Arabic Letter Theh

JEEM :str = ج#

Arabic Letter Jeem

HAH :str = ح#

Arabic Letter Hah

KHAH :str = خ#

Arabic Letter Khah

DAL :str = د#

Arabic Letter Dal

THAL :str = ذ#

Arabic Letter Thal

REH :str = ر#

Arabic Letter Reh

ZAIN :str = ز#

Arabic Letter Zain

SEEN :str = س#

Arabic Letter Seen

SHEEN :str = ش#

Arabic Letter Sheen

SAD :str = ص#

Arabic Letter Sad

DAD :str = ض#

Arabic Letter Dad

TAH :str = ط#

Arabic Letter Tah

ZAH :str = ظ#

Arabic Letter Zah

AIN :str = ع#

Arabic Letter Ain

GHAIN :str = غ#

Arabic Letter Ghain

FEH :str = ف#

Arabic Letter Feh

QAF :str = ق#

Arabic Letter Qaf

KAF :str = ك#

Arabic Letter Kaf

LAM :str = ل#

Arabic Letter Lam

MEEM :str = م#

Arabic Letter Meem

NOON :str = ن#

Arabic Letter Noon

HEH :str = ه#

Arabic Letter Heh

WAW :str = و#

Arabic Letter Waw

YEH :str = ي#

Arabic Letter Yeh

ALEF_MAKSURA :str = ى#

Arabic Letter Alef Maksura

TEH_MARBUTA :str = ة#

Arabic Letter Teh Marbuta

ALEF_MADDA_ABOVE :str = آ#

Arabic Letter Alef With Madda Above

ALEF_HAMZA_ABOVE :str = أ#

Arabic Letter Alef With Hamza Above

ALEF_HAMZA_BELOW :str = إ#

Arabic Letter Alef With Hamza Below

HAMZA :str = ء#

Arabic Letter Hamza

HAMZA_WAW :str = ؤ#

Arabic Letter Waw With Hamza Above

HAMZA_YA :str = ئ#

Arabic Letter Yeh With Hamza Above

TATWEEL :str = ـ#

Arabic Tatweel

KASHIDA :str#

Alias for Arabic Tatweel

ALEF_WASLA :str = ٱ#

Arabic Letter Alef Wasla

ALEF_HAMZA_ABOVE_WAVY :str = ٲ#

Arabic Letter Alef With Wavy Hamza Above

ALEF_HAMZA_BELOW_WAVY :str = ٳ#

Arabic Letter Alef With Wavy Hamza Below

LAM_ALEF :str = #

Arabic Ligature Lam with Alef Isolated Form

LAM_ALEF_HAMZA_ABOVE :str = #

Arabic Ligature Lam with Alef with Hamza Above Isolated Form

LAM_ALEF_HAMZA_BELOW :str = #

Arabic Ligature Lam with Alef with Hamza Below Isolated Form

LAM_ALEF_MADDA_ABOVE :str = #

Arabic Ligature Lam with Alef with Madda Above Isolated Form

FATHATAN :str = ً#

Arabic Fathatan

DAMMATAN :str = ٌ#

Arabic Dammatan

KASRATAN :str = ٍ#

Arabic Kasratan

FATHA :str = َ#

Arabic Fatha

DAMMA :str = ُ#

Arabic Damma

KASRA :str = ِ#

Arabic Kasra

SHADDA :str = ّ#

Arabic Shadda

SUKUN :str = ْ#

Arabic Sukun

ARABIC_ZERO :str = ٠#

Arabic-Indic Digit Zero

ARABIC_ONE :str = ١#

Arabic-Indic Digit One

ARABIC_TWO :str = ٢#

Arabic-Indic Digit Two

ARABIC_THREE :str = ٣#

Arabic-Indic Digit Three

ARABIC_FOUR :str = ٤#

Arabic-Indic Digit Four

ARABIC_FIVE :str = ٥#

Arabic-Indic Digit Five

ARABIC_SIX :str = ٦#

Arabic-Indic Digit Six

ARABIC_SEVEN :str = ٧#

Arabic-Indic Digit Seven

ARABIC_EIGHT :str = ٨#

Arabic-Indic Digit Eight

ARABIC_NINE :str = ٩#

Arabic-Indic Digit Nine

ARABIC_COMMA :str = ،#

Arabic Comma

ARABIC_SEMICOLON :str = ؛#

Arabic Semicolon

ARABIC_QUESTION_MARK :str = ؟#

Arabic Question Mark

TRIPLE_DOT :str = ؞#

Arabic Triple Dot Punctuation Mark

ARABIC_DECIMAL_SEPARATOR :str = ٫#

Arabic Decimal Separator

ARABIC_THOUSANDS_SEPARATOR :str = ٬#

Arabic Thousands Separator

STAR :str = ٭#

Arabic Five Pointed Star

ARABIC_FULL_STOP :str = ۔#

Arabic Full Stop

DATE_SEPARATOR :str = ؍#

Arabic Date Separator

END_OF_AYAH :str = ۝#

Arabic End Of Ayah

MISRA_SIGN :str = ؏#

Arabic Sign Misra

POETIC_VERSE_SIGN :str = ؎#

Arabic Poetic Verse Sign

SAJDAH :str = ۩#

Arabic Place Of Sajdah

HIZB_START :str = ۞#

Arabic Start Of Rub El Hizb

ORNATE_LEFT_PARENTHESIS :str = #

Arabic Ornate Left Parenthesis

ORNATE_RIGHT_PARENTHESIS :str = ﴿#

Arabic Ornate Right Parenthesis

ARABIC_PERCENTAGE :str = ٪#

Arabic Percent Sign

LIGATURE_SALLA_KORANIC :str = #

Arabic Ligature Salla Used As Koranic Stop Sign Isolated Form

LIGATURE_QALA :str = #

Arabic Ligature Qala Used As Koranic Stop Sign Isolated Form

LIGATURE_ALLAH :str = #

Arabic Ligature Allah Isolated Form

LIGATURE_AKBAR :str = #

Arabic Ligature Akbar Isolated Form

LIGATURE_MOHAMMAD :str = #

Arabic Ligature Mohammad Isolated Form

LIGATURE_SALAM :str = #

Arabic Ligature Salam Isolated Form

LIGATURE_RASOUL :str = #

Arabic Ligature Rasoul Isolated Form

LIGATURE_ALAYHE :str = #

Arabic Ligature Alayhe Isolated Form

LIGATURE_WASALLAM :str = #

Arabic Ligature Wasallam Isolated Form

LIGATURE_SALLA :str = #

Arabic Ligature Salla Isolated Form

LIGATURE_SALLALLAHOU :str = #

Arabic Ligature Sallallahou Alayhe Wasallam

LIGATURE_JALLAJALALOUHOU :str = #

Arabic Ligature Jallajalalouhou

LIGATURE_RIAL :str = #

Rial Sign

LIGATURE_BISMILLAH :str = #

Arabic Ligature Bismillah Ar-Rahman Ar-Raheem

SMALL_LIGATURE_SALLA_KORANIC :str = ۖ#

Arabic Small High Ligature Sad With Lam With Alef Maksura

SMALL_LIGATURE_QALA :str = ۗ#

Arabic Small High Ligature Qaf With Lam With Alef Maksura

SMALL_WAW :str = ۥ#

Arabic Small Waw

SMALL_YEH :str = ۦ#

Arabic Small Yeh

SMALL_TAH :str = ؕ#

Arabic Small High Tah

SMALL_LAM_ALEF_YEH :str = ؖ#

Arabic Small High Ligature Alef With Lam With Yeh

SMALL_ZAIN :str = ؗ#

Arabic Small High Zain

SMALL_FATHA :str = ؘ#

Arabic Small Fatha

SMALL_DAMMA :str = ؙ#

Arabic Small Damma

SMALL_KASRA :str = ؚ#

Arabic Small Kasra

SMALL_LAM_ALEF_HIGH :str = ۙ#

Arabic Small High Lam Alef

SMALL_JEEM_HIGH :str = ۚ#

Arabic Small High Jeem

SMALL_THREE_DOTS_HIGH :str = ۛ#

Arabic Small High Three Dots

SMALL_MEEM_HIGH_ISOLATED :str = ۢ#

Arabic Small High Meem Isolated Form

SMALL_MEEM_HIGH_INITIAL :str = ۘ#

Arabic Small High Meem Initial Form

SMALL_MEEM_LOW :str = ۭ#

Arabic Small Low Meem

SMALL_SEEN_LOW :str = ۣ#

Arabic Small Low Seen

SMALL_SEEN_HIGH :str = ۜ#

Arabic Small High Seen

SMALL_ZERO_ROUNDED_HIGH :str = ۟#

Arabic Small High Rounded Zero

SMALL_ZERO_RECTANGULAR_HIGH :str = ۠#

Arabic Small High Upright Rectangular Zero

SMALL_DOTLESS_HEAD_HIGH :str = ۡ#

Arabic Small High Dotless Head Of Khah

SMALL_MADDA :str = ۤ#

Arabic Small High Madda

SMALL_YEH_HIGH :str = ۧ#

Arabic Small High Yeh

SMALL_NOON :str = ۨ#

Arabic Small High Noon

SMALL_V :str = ٚ#

Arabic Vowel Sign Small V Above

SMALL_V_INVERTED :str = ٛ#

Arabic Vowel Sign Inverted Small V Above

SAD_SIGN :str = ؐ#

Arabic Sign Sallallahou Alayhe Wassallam

AIN_SIGN :str = ؑ#

Arabic Sign Alayhe Assallam

RAHMATULLAH_SIGN :str = ؒ#

Arabic Sign Rahmatullah Alayhe

RADI_SIGN :str = ؓ#

Arabic Sign Radi Allahou Anhu

TAKHALLUS :str = ؔ#

Arabic Sign Takhallus

MADDAH_ABOVE :str = ٓ#

Arabic Maddah Above

HAMZA_ABOVE :str = ٔ#

Arabic Hamza Above

HAMZA_BELOW :str = ٕ#

Arabic Hamza Below

ALEF_SUBSCRIPT :str = ٖ#

Arabic Subscript Alef

ALEF_SUPERSCRIPT :str = ٰ#

Arabic Letter Superscript Alef

DAMMA_INVERTED :str = ٗ#

Arabic Inverted Damma

NOON_MARK :str = ٘#

Arabic Mark Noon Ghunna

ZWARAKAY :str = ٙ#

Arabic Zwarakay

DOT_BELOW :str = ٜ#

Arabic Vowel Sign Dot Below

DAMMA_REVERSED :str = ٝ#

Arabic Reversed Damma

PERCENTAGE_ABOVE :str = ٞ#

Arabic Fatha With Two Dots

HAMZA_BELOW_WAVY :str = ٟ#

Arabic Wavy Hamza Below

LOW_STOP :str = ۪#

Arabic Empty Centre Low Stop

HIGH_STOP :str = ۫#

Arabic Empty Centre High Stop

HIGH_STOP_FILLED :str = ۬#

Arabic Rounded High Stop With Filled Centre

DOTLESS_BEH :str = ٮ#

Arabic Letter Dotless Beh

DOTLESS_TEH :str#

Arabic Letter Dotless Teh

DOTLESS_THEH :str#

Arabic Letter Dotless Theh

DOTLESS_JEEM :str#

Arabic Letter Dotless Jeem

DOTLESS_KHAH :str#

Arabic Letter Dotless Khah

DOTLESS_THAL :str#

Arabic Letter Dotless Thal

DOTLESS_ZAIN :str#

Arabic Letter Dotless Zain

DOTLESS_SHEEN :str#

Arabic Letter Dotless Sheen

DOTLESS_DAD :str#

Arabic Letter Dotless Dad

DOTLESS_ZAH :str#

Arabic Letter Dotless Zah

DOTLESS_GHAIN :str#

Arabic Letter Dotless Ghain

DOTLESS_FEH :str = ڡ#

Arabic Letter Dotless Feh

DOTLESS_QAF :str = ٯ#

Arabic Letter Dotless Qaf

DOTLESS_NOON_GHUNNA :str = ں#

Arabic Letter Dotless Noon Ghunna

DOTLESS_YEH :str#

Arabic Letter Dotless Yeh

DOTLESS_TEH_MARBUTA :str#

Arabic Letter Dotless TEH_MARBUTA

ENGLISH_SMALL_LETTERS :list[str]#

List of all small English letters

ENGLISH_CAPITAL_LETTERS :list[str]#

List of all capital English letters

ENGLISH_LETTERS :list[str]#

List of all English letters

ENGLISH_NUMBERS :list[str]#

List of western Arabic numerals, a.k.a Arabic numerals

ENGLISH_PUNCTUATIONS :list[str]#

List of English punctuations

ENGLISH :list[str]#

Common ENGLISH characters

A :str = A#

Latin Capital letter A

B :str = B#

Latin Capital letter B

C :str = C#

Latin Capital letter C

D :str = D#

Latin Capital letter D

E :str = E#

Latin Capital letter E

F :str = F#

Latin Capital letter F

G :str = G#

Latin Capital letter G

H :str = H#

Latin Capital letter H

I :str = I#

Latin Capital letter I

J :str = J#

Latin Capital letter J

K :str = K#

Latin Capital letter K

L :str = L#

Latin Capital letter L

M :str = M#

Latin Capital letter M

N :str = N#

Latin Capital letter N

O :str = O#

Latin Capital letter O

P :str = P#

Latin Capital letter P

Q :str = Q#

Latin Capital letter Q

R :str = R#

Latin Capital letter R

S :str = S#

Latin Capital letter S

T :str = T#

Latin Capital letter T

U :str = U#

Latin Capital letter U

V :str = V#

Latin Capital letter V

W :str = W#

Latin Capital letter W

X :str = X#

Latin Capital letter X

Y :str = Y#

Latin Capital letter Y

Z :str = Z#

Latin Capital letter Z

SMALL_A :str = a#

Latin Small letter A

SMALL_B :str = b#

Latin Small letter B

SMALL_C :str = c#

Latin Small letter C

SMALL_D :str = d#

Latin Small letter D

SMALL_E :str = e#

Latin Small letter E

SMALL_F :str = f#

Latin Small letter F

SMALL_G :str = g#

Latin Small letter G

SMALL_H :str = h#

Latin Small letter H

SMALL_I :str = i#

Latin Small letter I

SMALL_J :str = j#

Latin Small letter J

SMALL_K :str = k#

Latin Small letter K

SMALL_L :str = l#

Latin Small letter L

SMALL_M :str = m#

Latin Small letter M

SMALL_N :str = n#

Latin Small letter N

SMALL_O :str = o#

Latin Small letter O

SMALL_P :str = p#

Latin Small letter P

SMALL_Q :str = q#

Latin Small letter Q

SMALL_R :str = r#

Latin Small letter R

SMALL_S :str = s#

Latin Small letter S

SMALL_T :str = t#

Latin Small letter T

SMALL_U :str = u#

Latin Small letter U

SMALL_V :str = v#

Latin Small letter V

SMALL_W :str = w#

Latin Small letter W

SMALL_X :str = x#

Latin Small letter X

SMALL_Y :str = y#

Latin Small letter Y

SMALL_Z :str = z#

Latin Small letter Z

ZERO :str = 0#

Digit Zero

ONE :str = 1#

Digit One

TWO :str = 2#

Digit Two

THREE :str = 3#

Digit Three

FOUR :str = 4#

Digit Four

FIVE :str = 5#

Digit Five

SIX :str = 6#

Digit Six

SEVEN :str = 7#

Digit Seven

EIGHT :str = 8#

Digit Eight

NINE :str = 9#

Digit Nine

EXCLAMATION_MARK :str = !#
QUOTATION_MARK :str = "#
NUMBER_SIGN :str = ##
HASHTAG :str#
DOLLAR_SIGN :str = $#
PERCENT_SIGN :str = %#
AND_SIGN :str = &#
AMPERSAND :str#
APOSTROPHE :str = '#
LEFT_PARENTHESIS :str = (#
RIGHT_PARENTHESIS :str = )#
ASTERISK :str = *#
PLUS_SIGN :str = +#
COMMA :str = ,#
MINUS_SIGN :str = -#
HYPHEN_SIGN :str#
DOT :str = .#
FULL_STOP :str#
SLASH :str = /#
COLON :str = :#
SEMICOLON :str = ;#
LESSTHAN_SIGN :str = <#
EQUAL_SIGN :str = =#
GREATERTHAN_SIGN :str = >#
QUESTION_MARK :str = ?#
AT_SIGN :str = @#
LEFT_BRACKET :str = [#
BACKSLASH :str = \#
RIGHT_BRACKET :str = ]#
EXPONENT_SIGN :str = ^#
CIRCUMFLEX_ACCENT :str#
UNDERSCORE :str = _#
LOWLINE :str#
GRAVE_ACCENT :str = `#
LEFTCURLY_BRACKET :str = {#
VERTICAL_BAR :str = |#
RIGHTCURLY_BRACKET :str = }#
TILDE :str = ~#
ARABIC_NUMBERS :list[str]#

List of eastern Arabic numerals, a.k.a Indic numerals

ARABIC_PUNCTUATIONS :list[str]#

Arabic punctuations.

ENGLISH_NUMBERS :list[str]#

List of western Arabic numerals, a.k.a Arabic numerals

ENGLISH_PUNCTUATIONS :list[str]#

List of English punctuations

SPACE :str =[source]#

Space character

EMPTY :str =[source]#

Empty character

PUNCTUATIONS :list[str][source]#

Arabic and English punctuations

NUMBERS :list[str][source]#

Arabic and English numbers

PERSIAN_NUMBERS :list[str]#

List of Persian numerals. They have different unicodes from ARABIC_NUMBERS

PERSIAN_UNIQUE_LETTERS :list[str]#

List of Persian unique letters

PERSIAN :list[str]#

List of Persian unique characters

PERSIAN_PE :str = پ#

Persian Pe Letter

PERSIAN_CE :str = چ#

Persian Ce Letter

PERSIAN_ZE :str = ژ#

Persian Ze Letter

PERSIAN_KAF :str = ک#

Persian Kaf Letter

PERSIAN_GAF :str = گ#

Persian Gaf Letter

PERSIAN_YE :str = ی#

Persian Ye Letter

PERSIAN_EYE :str = ۀ#

Persian Eye Letter

PERSIAN_ZERO :str = ۰#

Persian Zero Digit

PERSIAN_ONE :str = ۱#

Persian One Digit

PERSIAN_TWO :str = ۲#

Persian Two Digit

PERSIAN_THREE :str = ۳#

Persian Three Digit

PERSIAN_FOUR :str = ۴#

Persian Four Digit

PERSIAN_FIVE :str = ۵#

Persian Five Digit

PERSIAN_SIX :str = ۶#

Persian Six Digit

PERSIAN_SEVEN :str = ۷#

Persian Seven Digit

PERSIAN_EIGHT :str = ۸#

Persian Eight Digit

PERSIAN_NINE :str = ۹#

Persian Nine Digit