- Add a failing test for list objects, thanks to @lukaselmer (#19)
-
Add support for multiline strings, thanks to @maebert (#22)
longtext: > This is a multiline string. It can contain all manners of characters. Single line breaks are ignored, but blank linkes cause line breaks.
- Fix link to poyo on PyPI, thanks to @mrshu (#20)
- Trim trailing whitespace in variable, thanks to @hackebrot (#25)
- Update project to use src directory, thanks to @hackebrot (#24)
- Convert rst files to md, thanks to @Um9i (#28)
- Reformat code base with black, thanks to @Um9i (#29)
- Resolve a bug with list items and comments, thanks to @ishanarora (#18)
- Update regex patterns to allow for no newline at the end of the given string, thanks to @mikeckennedy and @hackebrot (#13, #14)
-
Add support for block comments in sections, thanks to @jakubka and @hackebrot (#7)
default_context: # foobar greeting: こんにちは # comment # allthethings docs: true 123: 456.789
-
Set up
poyo
logger with NullHandler to log DEBUG messages when parsing, thanks to @hackebrotDEBUG:poyo.parser:parse_simple <- 123: 456.789 DEBUG:poyo.parser:parse_int <- 123 DEBUG:poyo.parser:parse_int -> 123 DEBUG:poyo.parser:parse_float <- 456.789 DEBUG:poyo.parser:parse_float -> 456.789 DEBUG:poyo.parser:parse_simple -> <Simple name: 123, value: 456.789>
- Fix an issue around section names if the line contained more than one colon symbol, thanks to @gvalkov and @hackebrot (#9)
- Fix an issue that caused partial matches to raise an error, thanks to @gvalkov and @hackebrot (#9)
-
Add support for blank lines and comment lines in lists, thanks to @eykd and @hackebrot (#5)
doc_tools: # docs or didn't happen - mkdocs - 'sphinx' - null
- Add tests for patterns, thanks to @eykd and @hackebrot (#5)
- Solve an issue with
~
character not being recognized asNone
-
Add support for list values
doc_tools: - mkdocs - 'sphinx' - null
-
Expose
PoyoException
in APIfrom poyo import PoyoException
-
Ignore dashes in lines
--- default_context: foo: "hallo #welt" #Inline comment :) docs: true
First release on PyPI.
parse_string()
to load a YAML string as a Python dict