Skip to main content

Export environment variable from YAML file

Project description

export_yaml

export_yaml is a python scripts to read yaml file and convert it to bash file to be sourced later

Installation

pip install export-yaml

How to use

export YAML_FILE=path_to_yaml
source $(export_yaml)

YAML File configuration

---
env:
  HELLO: "world"

Note: export_yaml is going only to read everything under env

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

export_yaml-0.0.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file export_yaml-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: export_yaml-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: 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.32.1 CPython/3.7.3

File hashes

Hashes for export_yaml-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 384955a392702eb2ad8f2f7c2daeaeae9fe4399ea5f6f561cdf83660df7b5e57
MD5 6dea92ff267928af23937ad482f7ca01
BLAKE2b-256 bc969946f082888ce0e5efcc90ed8b8665e1a61f10dc379bb6970b42db861bba

See more details on using hashes here.

Supported by

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