Python library for Shell Operator
Project description
Shell Operator Python Framework
This is a framework for shell-operator for writing hooks im Python.
Sample hook
# hello.py
import shell_operator as operator
def main(context: operator.HookContext):
print("Hello from Python!")
if __name__ == "__main__":
operator.run(main, "hello.yaml")
# hello.yaml
configVersion: v1
onStartup: 10
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shell_operator-0.0.2.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for shell_operator-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efc746aef2518fc3c378691ea8458f0869d567553a5264478c33415b62da57ff |
|
MD5 | 9f22424af7225fe73a21dbaa887191b6 |
|
BLAKE2b-256 | 5db267d83706660f5e2574f73da4181d76832c07508db98212ffbb0584af5784 |