Metadata-Version: 1.0
Name: pyutf8
Version: 0.1
Summary: Extension for dealing with valid and invalid UTF-8 strings
Home-page: http://github.com/etrepum/pyutf8
Author: Bob Ippolito
Author-email: bob@redivi.com
License: MIT License
Description: pyutf8 provides tools to efficiently deal with the validation
        and cleanup of UTF-8 strings. The primary use case is "garbage in utf-8 out".
        
        Usage::
        
        >>> from pyutf8 import valid_utf8_bytes
        >>> SNOWMAN = u'\N{SNOWMAN}'
        >>> SNOWMAN_BYTES = SNOWMAN.encode('utf-8')
        >>> valid_utf8_bytes(SNOWMAN) == SNOWMAN_BYTES
        True
        >>> valid_utf8_bytes(SNOWMAN_BYTES) == SNOWMAN_BYTES
        True
        >>> valid_utf8_bytes('\xff' + SNOWMAN_BYTES + '\xff') == SNOWMAN_BYTES
        True
        
Platform: any
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
