Metadata-Version: 1.1
Name: docker_helper
Version: 0.0.1
Summary: Convenience utilities for Python applications in Docker containers
Home-page: https://github.com/rycus86/docker_helper
Author: Viktor Adam
Author-email: rycus86@gmail.com
License: MIT
Download-URL: https://github.com/rycus86/docker_helper/archive/0.0.1.tar.gz
Description: # Docker Helper
        
        Convenience utilities for Python applications in Docker containers.
        
        ## Functions
        
        ```python
        get_current_container_id()
        ```
        
        Returns the ID of the container the application is currently running in,
        otherwise returns `None` if not running in a container.
        
        ```python
        read_configuration(key, path=None, default=None,
                           single_config=False, fallback_to_env=True)
        ```
        
        A convenient way to read configuration values from files with an option
        to fall back to using environment variables.
        This can come handy to pass in multiple configuration options as key-value pairs
        using Docker configs or secrets when working with Swarm services.
        When `single_config` is `True`, the configuration file is treated as a single text value
        which is useful to read JSON configuration for example for an application.
        
        ## License
        
        MIT
        
        
Keywords: docker,container,cgroup,secret,config
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
