Metadata-Version: 2.1
Name: simple-grid-yaml-compiler
Version: 1.0.6
Summary: The YAML compiler for the SIMPLE Grid Framework
Home-page: https://github.com/WLCG-Lightweight-Sites/simple_grid_yaml_compiler
Author: Mayank Sharma
Author-email: mayank.sharma@cern.ch
License: Apache Software License
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Description-Content-Type: text/markdown
Requires-Dist: bleach (==3.1.0)
Requires-Dist: certifi (==2019.6.16)
Requires-Dist: chardet (==3.0.4)
Requires-Dist: docutils (==0.15.2)
Requires-Dist: idna (==2.8)
Requires-Dist: pkginfo (==1.5.0.1)
Requires-Dist: Pygments (==2.4.2)
Requires-Dist: python-dotenv (==0.11.0)
Requires-Dist: PyYAML (==3.12)
Requires-Dist: readme-renderer (==24.0)
Requires-Dist: requests (==2.22.0)
Requires-Dist: requests-toolbelt (==0.9.1)
Requires-Dist: ruamel.ordereddict (==0.4.13)
Requires-Dist: ruamel.yaml (==0.15.71)
Requires-Dist: six (==1.12.0)
Requires-Dist: tqdm (==4.33.0)
Requires-Dist: twine (==1.13.0)
Requires-Dist: typing (==3.7.4.1)
Requires-Dist: urllib3 (==1.25.3)
Requires-Dist: webencodings (==0.5.1)

# simple_grid_yaml_compiler
[![CircleCI](https://circleci.com/gh/simple-framework/simple_grid_yaml_compiler/tree/master.svg?style=svg)](https://circleci.com/gh/WLCG-Lightweight-Sites/simple_grid_yaml_compiler/tree/master)
[![Build Status](https://travis-ci.org/simple-framework/simple_grid_yaml_compiler.svg?branch=master)](https://travis-ci.org/WLCG-Lightweight-Sites/simple_grid_yaml_compiler?branch=master)
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/WLCG-Lightweight-Sites/wlcg_lightweight_site_config_validation_engine/issues)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Generates the extended YAML output for an input site_level_configuration_file

# Setup development Environment
You'll need Python 2.7 or higher.
- Fork this repository and clone your fork in your development machine.
- Create a virtualenv with Python >= 2.7 and install all the required packages listed in the requirements.txt file.
- At the root of the directory, create a .temp folder. ```mkdir .temp```
- Create a site_level_configuration_file.yaml in the root directory. You can use the one available in the [puppet module](https://github.com/WLCG-Lightweight-Sites/simple_grid_puppet_module/tree/master/templates).
- Execute the compiler using the following command template from the root directory
```
python simple_grid_yaml_compiler.py {PATH_TO_SITE_LEVEL_CONFIG_FILE} -o {PATH_TO_AUGMENTED_SITE_LEVEL_CONFIG_FILE}
```
For instance, 
```
python simple_grid_yaml_compiler.py ./tests/resources/complete_config.yaml -o ./tests/output.yaml
```
- After running the compiler, the output would be generated at {PATH_TO_AUGMENTED_SITE_LEVEL_CONFIG_FILE}



