Skip to main content

The YAML compiler for the SIMPLE Grid Framework

Project description

simple_grid_yaml_compiler

CircleCI Build Status contributions welcome License

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.
  • 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}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_grid_yaml_compiler-1.0.6.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

simple_grid_yaml_compiler-1.0.6-py2.py3-none-any.whl (24.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file simple_grid_yaml_compiler-1.0.6.tar.gz.

File metadata

  • Download URL: simple_grid_yaml_compiler-1.0.6.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/2.7.16

File hashes

Hashes for simple_grid_yaml_compiler-1.0.6.tar.gz
Algorithm Hash digest
SHA256 dc04092505a00469ce1c0b1ab5ed951d82c31595a1ea6d77d37d9054c1e3e81f
MD5 2ae62c49268a9b57acbe429c8d38071c
BLAKE2b-256 7069d08d4724cf38f4699d0d2824109d7050a81204ec2ebb6d0a517d3ea6d2cd

See more details on using hashes here.

File details

Details for the file simple_grid_yaml_compiler-1.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: simple_grid_yaml_compiler-1.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/2.7.16

File hashes

Hashes for simple_grid_yaml_compiler-1.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 71e9552eb473fb354e4e8c51a1b9b73eb5dbf75156e54d1c043837d88fb1e727
MD5 6116b057ee6b1561f83979629cd58d0a
BLAKE2b-256 0fcb0a69407fe6503540fd91f55d8bd88387bfad8eeb259e8837a5f85e778037

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page