File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed
Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11__author__ = 'Ali Madihi (mrunderline)'
2- __version__ = '0.0.2 '
2+ __version__ = '0.0.6 '
33__date__ = '2021-02-20'
44
5-
6- class LANGUAGES :
7- EN = 'en'
8- FA = 'fa'
9- AR = 'ar'
5+ from persian_tools import *
Original file line number Diff line number Diff line change 11from typing import Union
2- from .. import LANGUAGES
32from math import floor
43from .strings import SCALE , NUMBER_TEXT
54from ..ordinal_suffix import add as add_ordinal_suffix
65
6+
7+ class LANGUAGES :
8+ EN = 'en'
9+ FA = 'fa'
10+ AR = 'ar'
11+
12+
713SUPPORTED_CHARS = {
814 LANGUAGES .EN : '0123456789' ,
915 LANGUAGES .FA : '۰۱۲۳۴۵۶۷۸۹' ,
Original file line number Diff line number Diff line change 11[metadata]
22name = persian_tools
3- version = 0.0.2
3+ version = 0.0.6
44author = Ali Madihi (mrunderline)
55author_email = alimadihib@gmail.com
66description = An anthology of a variety of tools for the Persian language in Python
Original file line number Diff line number Diff line change 88
99setuptools .setup (
1010 name = 'persian_tools' ,
11- packages = [ 'persian_tools' ] ,
11+ packages = setuptools . find_packages () ,
1212 version = import_module ('persian_tools' ).__version__ ,
1313 license = 'MIT' ,
1414 description = 'An anthology of a variety of tools for the Persian language in Python' ,
You can’t perform that action at this time.
0 commit comments