circle-info
πŸ•πŸ”₯ Pizza is great! πŸ”₯πŸ•

Quick Start Guide

Get up and running with TomatoPy in minutes! This guide will walk you through the basics of creating and manipulating virtual ingredients.

circle-info

TomatoPyarrow-up-right enables you to slice, dice, cook with, and taste tomatoes using nothing but Python!

Basic Usage

Creating Your First Tomato

from tomatopy import Tomato

# Create a fresh tomato
my_tomato = Tomato(
    ripeness=0.8,  # 80% ripe
    variety="San Marzano",
    weight=150  # grams
)

# Check tomato properties
print(my_tomato.ripeness)  # 0.8
print(my_tomato.variety)   # "San Marzano"

Setting Up Your Virtual Kitchen

from tomatopy import Kitchen

# Initialize your kitchen
kitchen = Kitchen()

# Configure kitchen settings
kitchen.set_temperature(180)  # Celsius
kitchen.set_humidity(65)      # Percentage

Basic Cooking Operations

Working with Multiple Ingredients

Taste Testing

Next Steps

  • Basic Concepts - Learn about core TomatoPy concepts

  • Making Your First Marinara - Follow a complete tutorial

  • API Reference - Explore the full API

Tips and Tricks

Pro Tip: Use the debug() method to inspect ingredient properties:

Note: All measurements in TomatoPy use the metric system by default. Use the convert_to_imperial() method if needed.

Last updated

Was this helpful?