pyprika
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>]
Metadata
Release files for pyprika 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyprika-1.0.1.tar.gz | 19.4 kB | Details |
Release files / pyprika-1.0.1.tar.gz
| Download URL | pyprika-1.0.1.tar.gz |
|---|---|
| Size | 19.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cb6502dd266b23637c21db1531d962233596824fb9a64945f3c0f48c8b956c8
|
|
BLAKE2b-256 checksum How to use checksums |
1e090008dbd98b7824db21cdd972ce1912ed4b756820d70fa7ee0271bbc83c07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |