Skip to main content

A recipe management library

Project description

A recipe management library and command line tool.

Primary features:

  • A YAML file format for encoding recipes.
  • Parser written for human-friendly syntax.

See the documentation for a more complete discussion.

Example

>>> import pyprika
>>> recipe = pyprika.load(open('example.yaml'))
>>> recipe.name
'Salt Water'
>>> recipe.ingredients
[<Ingredient: (1 cup) water>, <Ingredient: (1 cup) salt>, <Ingredient: pepper>]
>>> recipe.directions
['Put it in a pot.', 'Boil it up.', 'Glug glug glug.']
>>> more_recipe = 2 * recipe
>>> more_recipe.ingredients
[<Ingredient: (2 cup) water>, <Ingredient: (2 cup) salt>, <Ingredient: pepper>]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyprika-1.0.1.tar.gz (19.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page