You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TROUVERIE Joachim 277f42784d fix: Setup 1 month ago
docs new: Migration 1 year ago
pybeeryaml fix: Setup 1 month ago
tests Fix flatten name bug 1 year ago
.drone.yml new: Migration 1 year ago
.gitignore Allow export to YAML (fix #1) 2 years ago
LICENSE Initial commit 2 years ago
README.rst fix: README 1 month ago
REQUIREMENTS.txt Add tests 2 years ago
setup.cfg Add setup files (fix #3) 2 years ago fix: Setup 1 month ago



|version| |license| |drone|

A YAML format parser for beer storage

Parse a recipe from a YAML file and returns an object containing ingredients and
metadata. Supports export to `beerxml <>`_ format.


.. code:: sh

pip install pybeeryaml


.. code:: python

from pybeeryaml import Recipe

path_to_beeryaml_file = "/tmp/my_recipe.yml"

# create recipe from file
recipe = Recipe.from_file(path_to_beeryaml_file)

# or from string
with open(path_to_beeryaml_file, "r") as mybeer:
recipe2 = Recipe.from_yaml(

assert recipe == recipe2 # True

# convert to beerxml format
recipexml = recipe.to_xml()


Unit tests can be run with `pytest <>`_.

.. code:: sh

py.test tests

.. |version| image::
.. |license| image::
.. |drone| image::