summaryrefslogtreecommitdiff
path: root/contrib/python/podman/__init__.py
blob: 5a0356311de5ddc1845db9e4ae991a8a2b18cced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""A client for communicating with a Podman server."""
import pkg_resources

from .client import Client
from .libs import datetime_format, datetime_parse
from .libs.errors import (ContainerNotFound, ErrorOccurred, ImageNotFound,
                          RuntimeError)

try:
    __version__ = pkg_resources.get_distribution('podman').version
except Exception:
    __version__ = '0.0.0'

__all__ = [
    'Client',
    'ContainerNotFound',
    'datetime_format',
    'datetime_parse',
    'ErrorOccurred',
    'ImageNotFound',
    'RuntimeError',
]