Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/0.0.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
mhajiloo committed Jun 3, 2016
2 parents 13f8856 + 01f5960 commit 7e659f3
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 9 deletions.
17 changes: 17 additions & 0 deletions .codeclimate.yml
@@ -0,0 +1,17 @@
engines:
duplication:
enabled: true
config:
languages:
- python
fixme:
enabled: true
radon:
enabled: true
pep8:
enabled: true
ratings:
paths:
- "**.py"
exclude_paths:
- tests/
8 changes: 7 additions & 1 deletion .travis.yml
Expand Up @@ -6,6 +6,8 @@ python:
- "3.5"
- "3.5-dev"
- "nightly"
- "pypy"
- "pypy3"

install:
- pip install coveralls
Expand All @@ -15,4 +17,8 @@ script:
nosetests --with-coverage --cover-package=persiantools

after_success:
coveralls
coveralls

addons:
code_climate:
repo_token: 64224dc4a53d3701203a0075f9571a3c0b66f4dbea20750891b6f7e779e69e00
3 changes: 2 additions & 1 deletion README.md
@@ -1,9 +1,10 @@
PersianTools
===
[![pypi-ver](https://img.shields.io/pypi/v/persiantools.svg)](https://pypi.python.org/pypi/persiantools)
[![PyPI-license](https://img.shields.io/pypi/l/persiantools.svg)](https://pypi.python.org/pypi/persiantools)
[![travic-build](https://travis-ci.org/mhajiloo/persiantools.png?branch=master)](https://travis-ci.org/mhajiloo/persiantools)
[![Coverage Status](https://coveralls.io/repos/github/mhajiloo/persiantools/badge.svg?branch=master)](https://coveralls.io/github/mhajiloo/persiantools?branch=master)
[![python-ver](https://img.shields.io/pypi/pyversions/persiantools.svg )](https://pypi.python.org/pypi/persiantools)
[![python-ver](https://img.shields.io/pypi/pyversions/persiantools.svg)](https://pypi.python.org/pypi/persiantools)

Python Library for Persian. Convert Arabic character to Persian

Expand Down
2 changes: 1 addition & 1 deletion persiantools/__init__.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

__title__ = 'persiantools'
__version__ = '0.0.6'
__version__ = '0.0.7'
__build__ = __version__
__author__ = 'Majid Hajiloo'
__license__ = 'MIT'
Expand Down
10 changes: 5 additions & 5 deletions persiantools/digits.py
Expand Up @@ -5,12 +5,12 @@
def en_to_fa(string):
"""Convert EN digits to Persian
Usage::
from persiantools import digits
converted = digits.en_to_fa("0123456789")
Usage::
from persiantools import digits
converted = digits.en_to_fa("0123456789")
:param string: A string, will be converted
:rtype: str
:param string: A string, will be converted
:rtype: str
"""
dic = {
'0': '۰',
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -7,7 +7,7 @@ def readme():


setup(name='persiantools',
version='0.0.6',
version='0.0.7',
description='Python Library for Persian',
long_description=readme(),
classifiers=[
Expand All @@ -21,6 +21,7 @@ def readme():
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Localization',
Expand Down

0 comments on commit 7e659f3

Please sign in to comment.