Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 742 Bytes

File metadata and controls

39 lines (25 loc) · 742 Bytes

Yaml8

Project Description

Python package to make getting yaml easier and cleaner

Installation

To install with pip

$ pip install Yaml8

Usage

y = Yaml(f"{os.path.dirname(os.path.realpath(__file__))}/app.yaml")

env = os.getenv('env')

@y.value(f"project-{env}.session-id")
def sessionId(): pass

print(sessionId)

Credits


Jeyavishnu

License

Distributed under the MIT License. See LICENSE for more information.