aboutsummaryrefslogtreecommitdiffstats
path: root/src/vpp-api/python/vpp_papi/__init__.py
blob: dc58c1e18cb97b19a3b3ca5d47cc5ef8ca2dcb9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from .vpp_papi import FuncWrapper, VppApiDynamicMethodHolder  # noqa: F401
from .vpp_papi import VppEnum, VppEnumType, VppEnumFlag  # noqa: F401
from .vpp_papi import VPPIOError, VPPRuntimeError, VPPValueError  # noqa: F401
from .vpp_papi import VPPApiClient  # noqa: F401
from .vpp_papi import VPPApiJSONFiles  # noqa: F401
from .macaddress import MACAddress, mac_pton, mac_ntop  # noqa: F401

# sorted lexicographically
from .vpp_serializer import BaseTypes  # noqa: F401
from .vpp_serializer import VPPEnumType, VPPType, VPPTypeAlias  # noqa: F401
from .vpp_serializer import VPPMessage, VPPUnionType  # noqa: F401

import pkg_resources  # part of setuptools

try:
    __version__ = pkg_resources.get_distribution("vpp_papi").version
except pkg_resources.DistributionNotFound:
    """Can't find vpp_papi via setuptools"""