I have a lot of open source projects- and this week I plan on announcing four more! To start with I am happy to release DapperData, a simple formatter that enforces styles on YAML and JSON files. This project is written in Python and takes inspiration from projects such as Black and Prettier.
DapperData can be used to automatically fix formatting in code bases or to test that a code base is following the standard. It can be configured with pyproject.toml, environment variables, or command line flags (
dapperdata --help). At the same time it is a remarkably tiny project that runs surprisingly quickly.
Right now I’m using this primarily to keep Github workflows clean, but it can be used in a variety of projects. If there’s interest other formats may be added as well.