Metadata-Version: 2.1
Name: py-defer
Version: 1.1.1
Summary: Golang-esque defer functionality
Home-page: http://github.com/naphta/with-defer
Author: Jake Hill
Author-email: jake@naphta.uk
License: MIT
Description: Defer
        ============
        
        [![pypi-version](https://img.shields.io/pypi/v/py-defer.svg)](https://pypi.org/project/py-defer/)
        [![pypi-license](https://img.shields.io/pypi/l/py-defer.svg)](https://pypi.org/project/py-defer/)
        [![pypi-versions](https://img.shields.io/pypi/pyversions/py-defer.svg)](https://pypi.org/project/py-defer/)
        [![travis-ci.org](https://travis-ci.org/naphta/py-defer.svg?branch=master)](https://travis-ci.org/naphta/py-defer)
        [![codecov.io](https://codecov.io/github/naphta/py-defer/coverage.svg?branch=master)](https://codecov.io/github/naphta/py-defer)
        [![codacy](https://api.codacy.com/project/badge/Grade/3a5de3a9d2544c60be2e45d4548a97cb)](https://www.codacy.com/app/jake_5/py-defer?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=naphta/py-defer&amp;utm_campaign=Badge_Grade)
        [![contributors](https://img.shields.io/github/contributors/naphta/py-defer.svg)](https://github.com/naphta/py-defer/graphs/contributors)
        [![thanks](https://img.shields.io/badge/say%20thanks-!-1EAEDB.svg)](https://saythanks.io/to/naphta)
        
        Add a simple golang-esque deferral system for python.
        
        ## Example
        
        ```
        import defer
        
        
        @defer.with_defer
        def example_function():
            print("Hello")
            defer.defer(print, "!")
            print("World")
            
        example_function()
        > Hello
        > World
        > !
        ```
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.6
Description-Content-Type: text/markdown
