Metadata-Version: 2.1
Name: omnipack
Version: 0.0.2
Summary: A robust collection of useful scripts
Home-page: https://github.com/FrankLeeeee/powerpack
Author: Li Shenggui
Author-email: somerlee.9@gmail.com
License: Apache License 2.0
Description: # OmniPack
        
        A collection of commonly used Python scripts in work.
        
        [![Build Status](https://travis-ci.com/FrankLeeeee/OmniPack.svg?branch=master)](https://travis-ci.com/FrankLeeeee/OmniPack)
        [![PyPI version](https://badge.fury.io/py/omnipack.svg)](https://badge.fury.io/py/omnipack)
        
        ## Installation
        
        ```shell
        pip install omnipack
        ```
        
        ## In-Python
        
        OmniPack provides commonly used functions for quick programming. For example, it can load configuration from different kinds of files.
        
        ```python
        from omnipack import ConfigLoader
        import os.path as osp
        
        # load python file as configuration
        py_sample_path = osp.join(BASE_DIR, 'data/fileio/sample.py')
        py_config = ConfigLoader.from_file(py_sample_path)
        
        
        # load json
        json_sample_path = osp.join(BASE_DIR, 'data/fileio/sample.json')
        json_config = ConfigLoader.from_file(json_sample_path)
        
        # load yaml
        yaml_sample_path = osp.join(BASE_DIR, 'data/fileio/sample.yaml')
        yaml_config = ConfigLoader.from_file(yaml_sample_path)
        
        # load python dictionary
        dict_sample = dict(a=1, b=2)
        dict_config = ConfigLoader.from_dict(dict_sample)
        ```
        
        ## Command Line Interface
        
        OmniPack provides many easy-to-use commands for convenience purposes. For example, to kill ghost processes triggered by the same command
        
        ```shell
        omnipack kill_multiprocess "train.py"
        ```
        
        ## Contributor
        
        Li Shenggui
        
Keywords: Python,scripts
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
