hookpy

run python with custom hooks


License
MIT
Install
pip install hookpy==0.1.2

Documentation

hookpy

Build Status codecov FOSSA Status

run python with custom hooks.

Usage

  1. create a hook-config.json, add your hooks and observed folders, then save it to your project folder.

  2. run python script with hookpy /path/to/script.py --option1 --option2=value2

TODO

  • Add pre-compile mode: load file, compile to ast, modify ast and compile to module.

License

FOSSA Status