__version__ = '2.1.3'

def version():
    return __version__

import sys
from .database import get_tables, get_DT_tables, manifolds_path

try:
    import snappy
    table_dict = snappy.database.add_tables_from_package('plausible_knots', False)
    for name, table in table_dict.items():
        setattr(snappy, name, table)
        if name not in snappy.database_objects:
            snappy.database_objects.append(name)
except ImportError:
    pass
