injectify 0.2.0

Creator: rpa-with-ash

Last updated:

Add to Cart

Description:

injectify 0.2.0

Injectify is a code injection library that allows you to merge code that you have written into
code from a seprate package.

Documentation: https://injectify.readthedocs.io
GitHub: https://github.com/Matlzur/injectify
PyPi: https://pypi.org/project/injectify


Installing
Install and update using pipenv (or pip, of course):
$ pipenv install injectify


Basic Example
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


Features
Injectify can inject the following objects:
* classes
* functions
* nested functions
* methods
* modules

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.