pypyr release v5.1.0
toml & text+binary file read/write
Release Date: 2021-12-12T19:57:55Z
Finally, toml, has come, to pypyr! 🎆
- pypyr.parser.tomlfile to initialize pipeline context with a toml file
- pypyr.steps.fetchtoml to read toml file into context as an object with typing
- pypyr.steps.filewritetoml to write specified context to output toml file - lets you create toml files on-the-fly programmatically.
- pypyr.steps.fileformattoml to read input toml file(s) specified by path, glob or list of paths, replace {formatting expressions} and write to output file(s).
Working with files:
- pypyr.steps.fileread to read files in text or binary mode into context.
- pypyr.steps.filewrite to write or append to file in text or binary modes.
how to upgrade
If you want to upgrade (and you totally should!):
$ pip install --upgrade pypyr
what’s changed
- pypyr.steps.fileread by @yaythomas in https://github.com/pypyr/pypyr/pull/244
- pypyr.steps.filewrite by @yaythomas in https://github.com/pypyr/pypyr/pull/245
- toml by @yaythomas in https://github.com/pypyr/pypyr/pull/246
Full Changelog: https://github.com/pypyr/pypyr/compare/v5.0.0...v5.1.0
source
You can find pypyr release v5.1.0 on github, where you can click through to associated Issues, Pull Requests and Users.
Released by yaythomas.