summaryrefslogtreecommitdiff
path: root/src/tablib/__init__.py
blob: 6e10d783435850df1a63329d1a8eb2b13b7c1ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
""" Tablib. """
from pkg_resources import DistributionNotFound, get_distribution
from tablib.core import (  # noqa: F401
    Databook,
    Dataset,
    InvalidDatasetType,
    InvalidDimensions,
    UnsupportedFormat,
    detect_format,
    import_book,
    import_set,
)

try:
    __version__ = get_distribution(__name__).version
except DistributionNotFound:
    # package is not installed
    __version__ = None