Socket
Socket
Sign inDemoInstall

text-unidecode

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    text-unidecode

The most basic Text::Unidecode port


Maintainers
1

Readme

Text-Unidecode

.. image:: https://travis-ci.org/kmike/text-unidecode.svg?branch=master :target: https://travis-ci.org/kmike/text-unidecode :alt: Build Status

text-unidecode is the most basic port of the Text::Unidecode <http://search.cpan.org/~sburke/Text-Unidecode-0.04/lib/Text/Unidecode.pm>_ Perl library.

There are other Python ports of Text::Unidecode (unidecode_ and isounidecode_). unidecode_ is GPL; isounidecode_ uses too much memory, and it didn't support Python 3 when this package was created.

You can redistribute it and/or modify this port under the terms of either:

  • Artistic License_, or
  • GPL or GPLv2+

If you're OK with GPL-only, use unidecode_ (it has better memory usage and better transliteration quality).

text-unidecode supports Python 2.7 and 3.4+.

.. _unidecode: https://pypi.python.org/pypi/Unidecode/ .. _isounidecode: https://pypi.python.org/pypi/isounidecode/ .. _Artistic License: https://opensource.org/licenses/Artistic-Perl-1.0

Installation

::

pip install text-unidecode

Usage

::

>>> from text_unidecode import unidecode
>>> unidecode(u'какой-то текст')
'kakoi-to tekst'

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc