Skip to main content

A recipe management CLI application

Project description

Recipe Manager CLI

A robust command-line application for managing your personal recipe collection. Built with Python and the Rich library, this tool provides a visually appealing interface for searching, editing, and organizing your culinary data.

Features

  • List All Recipes: View your entire collection in a formatted list.
  • Detailed View: Display full recipe details, including ingredients and instructions.
  • Smart Search: Search recipes by name or specific ingredients.
  • Management: Add new recipes, edit existing entries, or archive recipes you no longer use.
  • Data Persistence: Automatically loads and saves your collection to a JSON database.

Installation

  1. Clone the repository:

    git clone github.com
    cd recipe-manager
    
  2. Install dependencies: This project requires the rich library for the terminal UI.

    uv sync
    
  3. Setup storage: Ensure a recipes.json file exists in the root directory (or let the init() function create it upon first launch).

Project Structure

  • main.py: The entry point and control loop of the application.
  • services.py: Contains business logic for searching, adding, and editing recipes.
  • ui.py: Handles terminal formatting, menus, and data display using Rich.
  • storage.py: Manages JSON serialization and deserialization.

Usage

Run the application using Python:

uv run main.py

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

recipe_app-0.1.0.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recipe_app-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file recipe_app-0.1.0.tar.gz.

File metadata

  • Download URL: recipe_app-0.1.0.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for recipe_app-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d4b9303d2bbf4a20411b69195e48af6d2555b3dfaaf33425f480da523632b07b
MD5 60268138e3e246fe060c80675e5806e8
BLAKE2b-256 ba6eea09477a602ede05346bf15237ea1e9cbe5b4de50b43fdc432fc8a27e92e

See more details on using hashes here.

File details

Details for the file recipe_app-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: recipe_app-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for recipe_app-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25e118a7aea9385dc6e38e02b2e8784814ae382a408e6c62ce59f66c4f2e2b9a
MD5 a3a00be4eeaafbbfbf66a02d1a5f5daa
BLAKE2b-256 41e057384163ebe269e33546d4a951dec782f6daf4d31ee5cd6ab562e4ed9b8f

See more details on using hashes here.

Supported by

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