Metadata-Version: 2.1
Name: smartencoding
Version: 0.3
Summary: Python smart encoding (smart_unicode and other functions)
Home-page: http://github.com/adw0rd/smartencoding
Author: Mikhail Andreev
Author-email: x11org@gmail.com
License: BSD
Keywords: smart_unicode,smart_text,smart_encode,smart,encoding,unicode
Classifier: Environment :: Web Environment
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: BSD License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: setuptools

smartencoding
===============

These functions are copied from the source code of Django 1.5b2.
And provides smart functions for convertation into utf8 and other encodings without Django.
For example, I use in the Flask.

.. image:: https://secure.travis-ci.org/adw0rd/smartencoding.png
    :target: http://travis-ci.org/adw0rd/smartencoding


Installation::

    pip install smartencoding

How to use::

    from smartencoding import smart_unicode, smart_unicode_with_replace
    print smart_unicode(some_string)
    print smart_unicode_with_replace(broken_string)

See also:

* https://pypi.python.org/pypi/Unidecode
* https://pypi.python.org/pypi/chardet

