Top "Pyyaml" questions

PyYAML is a YAML 1.1 parser and emitter for Python.

Creating Custom Tag in PyYAML

I'm trying to use Python's PyYAML to create a custom tag that will allow me to retrieve environment variables with …

python tags pyyaml
yaml.dump adding unwanted newlines in multiline strings

I have a multiline string: >>> import credstash >>> d = credstash.getSecret('alex_test_key', region=…

python serialization pyyaml
How to get details from PyYAML exception?

I want to gracefully notify the user exactly where their mucked up YAML file is flawed. Line 288 of python-3.4.1/lib/…

python exception-handling pyyaml
forcing pyYAML to dump consistently

In [136]: a = [1,2,3,4,5] In [137]: print yaml.dump(a) [1, 2, 3, 4, 5] In [138]: a = [1,2,3,4,5, [1,2,3]] In [139]: print yaml.dump(a) - 1 - 2 - 3 - 4 - 5 - [1, 2, 3] …

python yaml pyyaml
PyYAML automatically converting certain keys to boolean values

I've been working with a the PyYAML parser for a few months now to convert file types as part of …

python yaml pyyaml
PyYaml parsing of the Environment variable in the Yaml configuration file

I need to read follow yaml-formatted configuration file: version: 1 disable_existing_loggers: False formatters: precise: format: "%(name)-15s # %(levelname)…

python env pyyaml