Metadata-Version: 2.0
Name: vr.launch
Version: 1.0.0
Summary: Facilities for launching apps under Velociraptor
Home-page: https://github.com/yougov/vr.launch
Author: YouGov, Plc.
Author-email: open-source@yougov.com
License: UNKNOWN
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Requires-Python: >=2.7
Requires-Dist: pyyaml
Requires-Dist: jaraco.collections (!=1.2)
Requires-Dist: six
Provides-Extra: docs
Requires-Dist: sphinx; extra == 'docs'
Requires-Dist: jaraco.packaging (>=3.2); extra == 'docs'
Requires-Dist: rst.linker (>=1.9); extra == 'docs'
Provides-Extra: testing
Requires-Dist: pytest (>=2.8); extra == 'testing'
Requires-Dist: pytest-sugar (>=0.9.1); extra == 'testing'
Requires-Dist: collective.checkdocs; extra == 'testing'
Requires-Dist: pytest-flake8; extra == 'testing'

.. image:: https://img.shields.io/pypi/v/vr.launch.svg
   :target: https://pypi.org/project/vr.launch

.. image:: https://img.shields.io/pypi/pyversions/vr.launch.svg

.. image:: https://img.shields.io/travis/yougov/vr.launch/master.svg
   :target: https://travis-ci.org/yougov/vr.launch

.. .. image:: https://img.shields.io/appveyor/ci/yougov/vr.launch/master.svg
..    :target: https://ci.appveyor.com/project/yougov/vr.launch/branch/master

.. .. image:: https://readthedocs.org/projects/vrlaunch/badge/?version=latest
..    :target: https://vrlaunch.readthedocs.io/en/latest/?badge=latest

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']

Enjoy!


