Skip to main content

A way to write down your cooking/baking recipes in Python. This is an actual library, no joke (period). Made with ❤ for everyone with minimum coding literacy.

Project description

Rezipe 👨‍🍳👩‍🍳🍽

A way to write down your cooking/baking recipes in Python. This is an actual library, no joke (period). Made with ❤ for everyone with minimum coding literacy.

⛑ This is under developement.

import pint

from rezipe import Measure, recipe
from rezipe.wares import Pot
from rezipe.ingredients import RegularTofu, SnowPea, EnokiMushroom, DashiSoup, Miso

ureg  = pint.UnitRegistry()

class MisoSoup(Rezipe):
    """
    A simple miso soup by Rie
    """
    ref = "https://tasty.co/recipe/miso-soup"

    # kichenwares
    pot: Pot = Pot()

    # Ingredients
    dashi: DashiSoup = Measure(360 * ureg.mL)
    tofu: RegularTofu = Measure(200 * ureg.gram)
    pea: SnowPea = Measure(75 * ureg.gram)
    mushroom: EnokiMushroom = Measure(55 * ureg.gram)
    miso: Miso = Measure(2*ureg('tablespoon'))

    @recipe
    async def make(self):
        # class variable auto expose from method variable?
        pot += dashi
        await pot.boil()

        # self assign inplace async, is it even possible?
        await tofu.cut(style="cube")

        # method chaining
        await pea.trim().cut(in="half")

        await mushroom.cut(remove="end")

        pot += tofu + pea + mushroom
        await pot.slimmer().for(3*ureg.min)

        assert pot.heat.isOff
        miso = await miso.dissolve(with=pot.soup)
        pot.add(miso)

        await pot.boil(progress=0.75)

        self.serve(pot)

Features

  • Accept concurrent async/await - real home cooker do multiple things at once
  • Auto Convertion - enable percise measurement by default
  • Easy to fork(searchable, copy and modify) - that is the nature of open source.
  • Crystal Clear - yep totally logical and very descriptive

Roadmap

  • Autogen printable recipe/VSCode plugins for assisting read/cli
  • Works with your smart home/IoT device
  • Auto order/pre-order from your nearby market/farmer
  • Auto global ingredient subsitution - how to find nashville hot sauce/butter milk in Udon Thani?
  • Auto Nutrition
  • Add documentaion/test
  • Library of localized ingredients - thanks to inheritance of class, not the all white rice is equal, Not all beef are equal, class HomMaliRice(WhiteRice):, class Wagyu(Beef)
  • Make this for all popular programing languages
  • Able to create a opitimal cooking pipeline when do multiple recipes/dishes things at once
  • Able to create a opitimal cooking pipeline when do multiple recipes/dishes things at once
  • Enable Bidirection Alias for truly world citizen recipe i.e. dough.bake == แป้งโด.อบ == 面团.烤

Style

This will be a modern python lib.

Project details


Download files

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

Source Distribution

rezipe-0.1.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

rezipe-0.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file rezipe-0.1.1.tar.gz.

File metadata

  • Download URL: rezipe-0.1.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.2 Windows/10

File hashes

Hashes for rezipe-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f62537a2878c98e68c05e420d17b02bd0f784f5c46a0291a08b6be976cfa6bba
MD5 cb32e57b839c97a6da5e614418a10b8b
BLAKE2b-256 0f7a915e6529785bae59c1f7216ede89519afa45705205cc7853408d95ceed59

See more details on using hashes here.

File details

Details for the file rezipe-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: rezipe-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.8.2 Windows/10

File hashes

Hashes for rezipe-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25c5ee8ed73a9ab66e3c9803b32ddb1db9425a4f2af15f7ac9b4ce7c1a6813e0
MD5 f7f5fc19e80bc4bc79897dc8aa5ed8cc
BLAKE2b-256 fad3d4b7dfb931096f86c12f42ed9153f2abee7a8a96fcd0e41a50295a84ed6e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page