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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyprika-1.0.1.tar.gz
(19.4 kB
view details)
File details
Details for the file pyprika-1.0.1.tar.gz.
File metadata
- Download URL: pyprika-1.0.1.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cb6502dd266b23637c21db1531d962233596824fb9a64945f3c0f48c8b956c8
|
|
| MD5 |
cffd3474f81ded1898e9605fc100f802
|
|
| BLAKE2b-256 |
1e090008dbd98b7824db21cdd972ce1912ed4b756820d70fa7ee0271bbc83c07
|