RepositoryPythonDKDenmark
sepandhaghighi

sepandhaghighi/mycoffee

☕ Brew Perfect Coffee Right from Your Terminal

108stars
5forks
3issues
1views

MyCoffee: Brew Perfect Coffee Right from Your Terminal


built with Python3 GitHub repo size PyPI version

Overview

MyCoffee is a command-line tool for coffee enthusiasts who love brewing with precision. It helps you calculate the perfect coffee-to-water ratio for various brewing methods, ensuring you brew your ideal cup every time-right from your terminal.

PyPI Counter
Github Stars
Branchmaindev
CI
Code QualityCodeFactor

Installation

Source Code

PyPI

Usage

ℹ️ You can use mycoffee or python -m mycoffee to run this program

Version

> mycoffee --version

2.1

Info

> mycoffee --info
 __  __          ____          __   __
|  \/  | _   _  / ___|  ___   / _| / _|  ___   ___
| |\/| || | | || |     / _ \ | |_ | |_  / _ \ / _ \
| |  | || |_| || |___ | (_) ||  _||  _||  __/|  __/
|_|  |_| \__, | \____| \___/ |_|  |_|   \___| \___|
         |___/

__     __    ____      _
\ \   / / _ |___ \    / |
 \ \ / / (_)  __) |   | |
  \ V /   _  / __/  _ | |
   \_/   (_)|_____|(_)|_|


MyCoffee is a command-line tool for coffee enthusiasts who love brewing with precision.
It helps you calculate the perfect coffee-to-water ratio for various brewing methods,
ensuring you brew your ideal cup every time-right from your terminal.

Repo : https://github.com/sepandhaghighi/mycoffee

Method

> mycoffee --method=v60
 __  __  _  _   ___  _____  ____  ____  ____  ____
(  \/  )( \/ ) / __)(  _  )( ___)( ___)( ___)( ___)
 )    (  \  / ( (__  )(_)(  )__)  )__)  )__)  )__)
(_/\/\_) (__)  \___)(_____)(__)  (__)  (____)(____)



Date: 2025-09-10 17:56

Mode: Water --> Coffee

Method: `v60`

Cups: 1

Coffee:

    - Cup:   15 g
    - Total: 15 g

Water:

    - Cup: 250 g
    - Total: 250 g

Ratio: 3/50 (0.06)

Strength: Medium

Grind: 550 um (Medium-Fine)

Temperature: 91 C

Message: V60 method

Mode

Water to Coffee

> mycoffee --method=v60 --mode="water-to-coffee" --water=300
 __  __  _  _   ___  _____  ____  ____  ____  ____
(  \/  )( \/ ) / __)(  _  )( ___)( ___)( ___)( ___)
 )    (  \  / ( (__  )(_)(  )__)  )__)  )__)  )__)
(_/\/\_) (__)  \___)(_____)(__)  (__)  (____)(____)



Date: 2025-09-10 17:56

Mode: Water --> Coffee

Method: `v60`

Cups: 1

Coffee:

    - Cup:   18 g
    - Total: 18 g

Water:

    - Cup: 300 g
    - Total: 300 g

Ratio: 3/50 (0.06)

Strength: Medium

Grind: 550 um (Medium-Fine)

Temperature: 91 C

Message: V60 method

Coffee to Water

> mycoffee --method=v60 --mode="coffee-to-water" --coffee=12
 __  __  _  _   ___  _____  ____  ____  ____  ____
(  \/  )( \/ ) / __)(  _  )( ___)( ___)( ___)( ___)
 )    (  \  / ( (__  )(_)(  )__)  )__)  )__)  )__)
(_/\/\_) (__)  \___)(_____)(__)  (__)  (____)(____)



Date: 2025-09-10 17:56

Mode: Coffee --> Water

Method: `v60`

Cups: 1

Coffee:

    - Cup:   12 g
    - Total: 12 g

Water:

    - Cup: 200 g
    - Total: 200 g

Ratio: 3/50 (0.06)

Strength: Medium

Grind: 550 um (Medium-Fine)

Temperature: 91 C

Message: V60 method

Ratio

> mycoffee --method=v60 --mode="ratio" --coffee=18 --water=300
 __  __  _  _   ___  _____  ____  ____  ____  ____
(  \/  )( \/ ) / __)(  _  )( ___)( ___)( ___)( ___)
 )    (  \  / ( (__  )(_)(  )__)  )__)  )__)  )__)
(_/\/\_) (__)  \___)(_____)(__)  (__)  (____)(____)



Date: 2025-09-10 17:56

Mode: Water & Coffee --> Ratio

Method: `v60`

Cups: 1

Coffee:

    - Cup:   18 g
    - Total: 18 g

Water:

    - Cup: 300 g
    - Total: 300 g

Ratio: 3/50 (0.06)

Strength: Medium

Grind: 550 um (Medium-Fine)

Temperature: 91 C

Message: V60 method

Customize

ℹ️ You can run mycoffee --coffee-units-list to view the supported coffee units

ℹ️ You can run mycoffee --water-units-list to view the supported water units

> mycoffee --method=chemex --water=20 --cups=3 --coffee-ratio=2 --water-ratio=37 --coffee-unit="t oz" --water-unit="fl oz" --grind=750 --temperature=88

 __  __  _  _   ___  _____  ____  ____  ____  ____
(  \/  )( \/ ) / __)(  _  )( ___)( ___)( ___)( ___)
 )    (  \  / ( (__  )(_)(  )__)  )__)  )__)  )__)
(_/\/\_) (__)  \___)(_____)(__)  (__)  (____)(____)



Date: 2025-09-10 17:56

Mode: Water --> Coffee

Method: `chemex`

Cups: 3

Coffee:

    - Cup:   1.028 t oz
    - Total: 3.084 t oz

Water:

    - Cup: 20 fl oz
    - Total: 60 fl oz

Ratio: 2/37 (0.054)

Strength: Medium

Grind: 750 um (Medium)

Temperature: 88 C

Message: Chemex method

Save

ℹ️ File format valid choices: [text, json, yaml]

ℹ️ The default file format is text

> mycoffee --method=chemex --water=20 --cups=3 --coffee-ratio=2 --water-ratio=37 --save-path="profile1.txt" --save-format="text"

Parameters

ParameterDescriptionTypeDefault
--modeSpecifies the conversion modeStringwater-to-coffee
--methodSpecifies the coffee brewing methodStringcustom
--waterSets the amount of water in each cupPositive float240
--coffeeSets the amount of coffee in each cupPositive float14.118
--cupsIndicates the number of cupsPositive integer1
--grindGrind size (um)Positive integer700
--temperatureBrewing temperatureFloat90
--coffee-ratioCoefficient for the coffee component in the ratioPositive float1
--water-ratioCoefficient for the water component in the ratioPositive float17
--messageExtra information about the brewing methodStringCustom brewing method
--digitsNumber of digits up to which the result is roundedInteger3
--coffee-unitCoffee unitStringg
--water-unitWater unitStringg
--temperature-unitTemperature unitStringC
--save-pathFile path to save the outputString--
--save-formatFormat to save the outputStringtext

Issues & Bug Reports

Just fill an issue and describe it. We'll check it ASAP!

  • Please complete the issue template

References

1- Coffee to water ratio calculator
2- V60 Brew Guide
3- How to Brew Coffee with a Chemex
4- Using French press for perfect coffee
5- How to Brew the Perfect Cup of Siphon Coffee
6- Using Espresso Brew Ratios
7- My Best Coffee Recipes of 2022
8- Auto Drip Brewing Guide
9- Guide To Cold Brew
10- Cold Brew Concentrate Recipe
11- How to Make Coffee in a Moka Pot
12- How to Make Turkish Coffee at Home
13- How to Cup Coffee
14- Tetsu Kasuya AeroPress Recipe
15- All about the intervals
16- Clever Dripper; Square Mile Coffee
17- AeroPress Product User Manuals
18- RapidTables - Weight Converter
19- Whole bean to ground coffee calculator
20- Weight to Volume Converter for Recipes
21- How Much Coffee per Cup?
22- Weight Calculator
23- Volume Conversion Calculator - Inch Calculator
24- Metric Conversion Charts and Calculators
25- Coffee grind size chart
26- The best temperature to brew coffee
27- How to Brew Coffee with a Syphon
28- Guide To Home Coffee Makers
29- Can you brew coffee with warm water?
30- How to Brew Coffee Using a Cezve
31- Coffee cupping
32- The Latest Method to Brew Coffee with Your Clever Dripper
33- How to Make Vietnamese Coffee with Traditional Phin Drip Filter
34- Kalita Wave 185 Brew Guide
35- How to Make the Perfect Instant Coffee, Hot or Iced
36- How to make the perfect coffee

Show Your Support

Star This Repo

Give a ⭐️ if this project helped you!

Bitcoin

1KtNLEEeUbTEK9PdN6Ya3ZAKXaqoKUuxCy

Ethereum

0xcD4Db18B6664A9662123D4307B074aE968535388

Litecoin

Ldnz5gMcEeV8BAdsyf8FstWDC6uyYR6pgZ

Doge

DDUnKpFQbBqLpFVZ9DfuVysBdr249HxVDh

Tron

TCZxzPZLcJHr2qR3uPUB1tXB6L3FDSSAx7

Ripple

rN7ZuRG7HDGHR5nof8nu5LrsbmSB61V1qq

Binance Coin

bnb1zglwcf0ac3d0s2f6ck5kgwvcru4tlctt4p5qef

Tether

0xcD4Db18B6664A9662123D4307B074aE968535388

Dash

Xd3Yn2qZJ7VE8nbKw2fS98aLxR5M6WUU3s

Stellar

GALPOLPISRHIYHLQER2TLJRGUSZH52RYDK6C3HIU4PSMNAV65Q36EGNL

Zilliqa

zil1knmz8zj88cf0exr2ry7nav9elehxfcgqu3c5e5

Coffeete

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
sameerkumar18/geek-joke-api

Random Geek Jokes REST API

129
Mar 23, 2025
RepositoryC
jniebuhr/gaggimate

This project upgrades a Gaggia espresso machine with smart controls to improve your coffee-making experience. By adding a display and custom electronics, you can monitor and control the machine more easily.

1.0k
Nov 23, 2026
RepositoryJava
HouariZegai/Calculator

Calculator app created with Java Swing, It is simple with an easy code to help novices learn how to operate a calculator.

730
Jul 30, 2024
RepositoryC++
rancilio-pid/clevercoffee

Open, modular controller platform for portafilter espresso machines

424
Oct 28, 2026
RepositoryJava
anubhavshrimal/CalculatorApp

scientific calculator basic calculator and unit converter android app

188
Jun 19, 2024
RepositoryJulia
giordano/StarWarsArrays.jl

Arrays indexed as the order of Star Wars movies

139
Feb 13, 2024
RepositoryC++
tatemazer/AcaiaArduinoBLE

Bluetooth Scale Gateway using the ArduinoBLE library for devices such as the esp32 and other Bluetooth-enabled Arduino compatible hardware.

136
Aug 27, 2026
RepositoryC
kaspizzo/lamarzocco

Community ESP32-S3 round controller for La Marzocco machines: BLE/cloud control, local portal, Wi-Fi firmware updates, recipe presets and an experimental Linea Mini BLE scale bridge (legacy Acaia Lunar; Lunar 2021/USB-C and BOOKOO Mini/Ultra beta).

69
Nov 10, 2026
RepositoryPython
Cog-Creators/Red-DiscordBot

A multi-function Discord bot

5.8k
Nov 27, 2026