Module plibs

Expand source code
def int_or_str(value):
    try:
        return int(value)
    except ValueError:
        return value


__version__ = '0.1.1'
VERSION = tuple(map(int_or_str, __version__.split('.')))

Sub-modules

plibs.core
plibs.encrypt
plibs.third

Functions

def int_or_str(value)
Expand source code
def int_or_str(value):
    try:
        return int(value)
    except ValueError:
        return value