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-2.0.0.tar.gz
(10.4 kB
view hashes)
Built Distribution
Close
Hashes for vr.launch-2.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 106c6187caa035164f0eb756dc6638c36855be751afb7cb47025e78cc29c753f |
|
MD5 | 9104c08a78c8fdfbe6bb60be36c27f19 |
|
BLAKE2b-256 | ebaa385f0eb01b853626793134ac04bbdf3c2efd8d364e9a72be8ab0c07d913d |