Metadata-Version: 2.0
Name: wrap
Version: 2018.2.1
Summary: useful wrap collections
Home-page: https://github.com/pingf/wrap.git
Author: Jesse MENG
Author-email: pingf0@gmail.com
License: MIT
Platform: any
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: logcc

=============================
wrap
=============================

useful wrap collections

**Note**: this package is still in alpha. Use with caution !


Quickstart
----------

Install wrap::

    pip install wrap


Use logcc:

.. code-block:: python

    @show(level ='DEBUG')
    @safe(Exception)
    def test(text):
        print(text)
        raise Exception('test')


    if __name__ == '__main__':
        logging.basicConfig(level=logging.INFO)
        log = logging.getLogger()
        ret = test('hello world')
        print(ret, type(ret))



