Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

Commit

Permalink
v.1.2.3 released
Browse files Browse the repository at this point in the history
  • Loading branch information
orsinium committed Apr 2, 2018
1 parent e05b8ff commit f8194fe
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 5 deletions.
15 changes: 15 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Homoglyphs
==========

|Homoglyphs logo| |Build Status| |PyPI version| |Status| |Code size|
|License|

Homoglyphs -- python library for getting
`homoglyphs <https://en.wikipedia.org/wiki/Homoglyph>`__ and converting
to ASCII.
Expand Down Expand Up @@ -139,3 +142,15 @@ Converting glyphs to ASCII chars
)
homoglyphs.to_ascii('лол')
# ['o']
.. |Homoglyphs logo| image:: logo.png
.. |Build Status| image:: https://travis-ci.org/orsinium/homoglyphs.svg?branch=master
:target: https://travis-ci.org/orsinium/homoglyphs
.. |PyPI version| image:: https://img.shields.io/pypi/v/homoglyphs.svg
:target: https://pypi.python.org/pypi/homoglyphs
.. |Status| image:: https://img.shields.io/pypi/status/homoglyphs.svg
:target: https://pypi.python.org/pypi/homoglyphs
.. |Code size| image:: https://img.shields.io/github/languages/code-size/orsinium/homoglyphs.svg
:target: https://github.com/orsinium/homoglyphs
.. |License| image:: https://img.shields.io/pypi/l/homoglyphs.svg
:target: LICENSE
27 changes: 23 additions & 4 deletions homoglyphs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# -*- coding: utf-8 -*-
from .core import (
Categories, Languages, Homoglyphs, # noQA
STRATEGY_LOAD, STRATEGY_IGNORE, STRATEGY_REMOVE # noQA
"""
Homoglyphs
* Get similar letters
* Convert string to ASCII letters
* Detect possible letter languages
* Detect letter UTF-8 group.
"""

# main package info
__title__ = 'Homoglyphs'
__version__ = '1.2.3'
__author__ = 'Gram Orsinium'
__license__ = 'LGPL 3.0'


# version synonym
VERSION = __version__


from .core import ( # noQA
Categories, Languages, Homoglyphs,
STRATEGY_LOAD, STRATEGY_IGNORE, STRATEGY_REMOVE
)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='homoglyphs',
version='1.2.2',
version='1.2.3',

author='orsinium',
author_email='master_fess@mail.ru',
Expand Down

0 comments on commit f8194fe

Please sign in to comment.