Metadata-Version: 1.0
Name: eonums
Version: 0.9.0
Summary: A module for converting between integer numbers and Esperanto strings.
Home-page: http://www.dinu-gherman.net/
Author: Dinu Gherman
Author-email: gherman@darwin.in-berlin.de
License: GNU General Public Licence v3 (GPLv3)
Download-URL: http://www.dinu-gherman.net/tmp/eonums-0.9.0.tar.gz
Description: `Eonums` is a simple module providing conversion between normal
        integer numbers and the corresponding textual expression in the
        `Esperano <http://en.wikipedia.org/wiki/Esperanto>`_ language.
        It was mainly developped in order to explore the regularity of
        Esperanto expressions for big integer numbers.
        
        Names for 10**k (k = 6, 9, 12, ...) like "miliono" (10**6) or
        "miliardo" (10**9) are chosen from the so-called "Longa Skalo"
        as described on this page about
        `big numbers <http://eo.wikipedia.org/wiki/Numeralego>`_
        (in Esperanto).
        
        The integer numbers `eonums` can convert to or from such Esperanto
        expressions can be arbitrarily large, but are limited in practice
        by the largest number for which there is a name in Esperanto (on
        the "Longa Skalo")", which is, on the previous page, 10**63
        (dekiliardo). Hence, the largest integer you can handle with this
        module is 10**66 - 1. (This module makes no attempt to extend the
        Esperanto naming rules by introducing names like "undekiliono",
        "undekiliardo", "dudekiliono" etc.)
        
        This module can be fully translated automatically to Python 3.0
        using its migration tool named ``2to3``.
        
        
        Features
        ++++++++
        
        - convert Python integers to Esperanto integer strings (Unicode)
        - convert Esperanto integer strings (Unicode) to Python integers
        - validate Esperanto integer strings (Unicode)
        - handle integers from 0 to 10**66 - 1
        - provide conversion functions and command-line scripts
        - provide a Unittest test suite
        - can be automatically migrated to Python 3.0 using ``2to3``
        
        
        Examples
        ++++++++
        
        ::
        
        >>> from eonums import int2eo, eo2int, validate_eo
        >>>
        >>> int2eo(22334455)
        u'dudek du milionoj tricent tridek kvar mil kvarcent kvindek kvin'
        >>>
        >>> eo2int(u"cent dudek tri")
        123
        >>> validate_eo(u"dudek cent tri")
        False
        
Keywords: number,conversion,Esperanto
Platform: Posix
Platform: Windows
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: English
Classifier: Natural Language :: Esperanto
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Education
Classifier: Topic :: Software Development
