GitXplorerGitXplorer
p

metahell

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
fde4015c6150c8a6085ab01e53d5acad6d99e16b

Change general injector name

ppablogsal committed 7 years ago
Unverified
2cf8409e50260f0de7babb6c722c2234a7fa0b2a

Fixed inheritances from object

ppablogsal committed 8 years ago
Unverified
c9101b4676dd6d4b4805916d9e888c2fd71df2ac

Deleted __pycache__

ppablogsal committed 8 years ago
Unverified
56f05c0369cb2121531bbed2a167d1e1854168fa

Added a function to undo the unleash

ppablogsal committed 8 years ago
Unverified
85fc8074c46a3f4f0ddd375d0ff58b7253b3caa6

Corrected a typo

ppablogsal committed 8 years ago
Unverified
485aee99d1c6a709f556d884c2ce268a8d106aa8

Updated Readme

ppablogsal committed 8 years ago

README

The README file for this repository.

metahell

Wellcome to the metahell

After installing metahell (python setup.py or pip install .) you can unleash the metahell using one metadevil from metahell.metadevils or your own:

import metahell

with metahell.metainyect( lambda *args: 42 ):

    class Test():
        pass

    print(type(Test))
    print(Test)
    print( Test == 42 )

class Test2:
    pass

print(type(Test2))
print(Test2)
print( Test2 == 42 )

You can do the same without the contextmanager with:

import metahell

metahell.unleash( lambda *args: 42 )

class Test():
    pass

print(type(Test))
print(Test)
print( Test == 42 )

To undo the metahell.unleash you need to call metahell.you_cannot_pass().