Metadata-Version: 2.1
Name: injectify
Version: 0.1.0
Summary: Python Code Injection Library
Home-page: https://github.com/Maltzur/injectify
Author: Mitchell Marsden
Author-email: email@mitchellmarsden.com
License: BSD
Description: =========
        Injectify
        =========
        
        .. image:: https://api.travis-ci.com/Maltzur/injectify.svg?branch=master
            :target: https://travis-ci.com/Maltzur/injectify
        .. image:: https://codecov.io/gh/Maltzur/injectify/branch/master/graphs/badge.svg?branch=master
            :target: https://codecov.io/gh/Maltzur/injectify
        .. image:: https://img.shields.io/scrutinizer/g/Maltzur/injectify.svg
            :target: https://scrutinizer-ci.com/g/Maltzur/injectify/?branch=master
        
        A code injection library for Python.
        
        Basic Example:
        
        .. code:: python
        
            from injectify import inject, HeadInjector
        
            def foo(x):
                return x
        
            print(foo(10))  # 10
        
            @inject(target=foo, injector=HeadInjector())
            def handler():
                x = 9000
        
            print(foo(10))  # 9000
        
        
        Supported Features
        --------------------
        
        Injection is ready to inject code into different kinds of objects.
        
        + Inject into functions
        + Inject into methods
        + Inject into nested functions
        + Inject into classes
        + Inject into modules
        
        Installation
        -------------------
        
        The recommended way to install `injectify` is to use `pipenv`_
        (or `pip`, of course):
        
        .. code:: console
        
            $ pipenv install injectify
            Adding injectify to Pipfile's [packages]…
            ✔ Installation Succeeded
            …
        
        Injectify officially supports Python 3.5+.
        
        .. _pipenv: https://pipenv.kennethreitz.org
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Code Generators
Requires-Python: >=3.5
Description-Content-Type: text/x-rst
