Facilities for launching apps under Velociraptor
Project description
Deploying against Velociraptor? Need to load the config? It’s easy:
parser = argparse.ArgumentParser() yg.launch.cmdline.add_config_arg(parser) # add your own custom args too args = parser.parse_args() startup_app(args.config)
This module loads the config from YAML into a nice ItemsAsAttributes dictionary, so you can get the config values as items or as attributes:
args.config.foo == args.config['foo']
Config is loaded using yamlenv <https://pypi-hypernode.com/project/yamlenv/>, so any YAML can reference environment variables and other YAML files to be interpolated.
Enjoy!
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
vr.launch-1.1.0.tar.gz
(7.4 kB
view hashes)
Built Distribution
Close
Hashes for vr.launch-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5aad9d41a8331eceb26d004703ecf987663807a7e4dcfbe094f4b8a26cba63c2 |
|
MD5 | 981608c26270d8b4fadc0c22aee17b40 |
|
BLAKE2b-256 | cc3c26a10fd549be52ef65b45bf304c3fe3750a9a6692e9ef2f89740576b48d3 |