Skip to content

Commit

Permalink
fix: version 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mrunderline committed Feb 20, 2021
1 parent 62ae722 commit ebd1f93
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
8 changes: 2 additions & 6 deletions persian_tools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
__author__ = 'Ali Madihi (mrunderline)'
__version__ = '0.0.2'
__version__ = '0.0.6'
__date__ = '2021-02-20'


class LANGUAGES:
EN = 'en'
FA = 'fa'
AR = 'ar'
from persian_tools import *
Empty file added persian_tools/bank/__init__.py
Empty file.
8 changes: 7 additions & 1 deletion persian_tools/digits/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
from typing import Union
from .. import LANGUAGES
from math import floor
from .strings import SCALE, NUMBER_TEXT
from ..ordinal_suffix import add as add_ordinal_suffix


class LANGUAGES:
EN = 'en'
FA = 'fa'
AR = 'ar'


SUPPORTED_CHARS = {
LANGUAGES.EN: '0123456789',
LANGUAGES.FA: '۰۱۲۳۴۵۶۷۸۹',
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = persian_tools
version = 0.0.2
version = 0.0.6
author = Ali Madihi (mrunderline)
author_email = [email protected]
description = An anthology of a variety of tools for the Persian language in Python
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name='persian_tools',
packages=['persian_tools'],
packages=setuptools.find_packages(),
version=import_module('persian_tools').__version__,
license='MIT',
description='An anthology of a variety of tools for the Persian language in Python',
Expand Down

0 comments on commit ebd1f93

Please sign in to comment.