Metadata-Version: 1.0
Name: bda.basen
Version: 1.0
Summary: bda.basen
Home-page: https://svn.bluedynamics.net/svn/internal/mdb
Author: BlueDynamics Alliance
Author-email: dev@bluedynamics.com
License: GNU General Public Licence
Description: bda.basen
        =========
        
        Module to represent integers as any other based representation string. This
        module is made under the KISS paradigm.
        
        There exist direct converter functions.
        
        >>> from bda.basen import str2int
        >>> from bda.basen import int2str
        
        >>> ref = 'abcde'
        
        >>> int2str(12345, ref)
        'deddea'
        
        >>> str2int('abcde', ref)
        194
        
        Or a direct representation call. this might be more in future.
        
        >>> from bda.basen import base62
        >>> term = base62(100)
        >>> str(term)
        '1C'
        
        >>> term = base62('1D')
        >>> int(term)
        101
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Utilities
