
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
|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 <http://beerxml.com/>
_ 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(mybeer.read())
assert recipe == recipe2 # True
# convert to beerxml format
recipexml = recipe.to_xml()
Unit tests can be run with pytest <https://docs.pytest.org/en/latest/>
_.
.. code:: sh
py.test tests
.. |version| image:: https://img.shields.io/pypi/v/pybeeryaml.svg .. |license| image:: https://img.shields.io/github/license/j0ack/pybeeryaml.svg .. |drone| image:: https://drone.joakode.fr/api/badges/joack/pybeeryaml/status.svg
FAQs
PyBeerYAML A YAML format parser for beer storage
We found that pybeeryaml demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.