CoffeeTrove 0.1.0
dotnet add package CoffeeTrove --version 0.1.0
NuGet\Install-Package CoffeeTrove -Version 0.1.0
<PackageReference Include="CoffeeTrove" Version="0.1.0" />
<PackageVersion Include="CoffeeTrove" Version="0.1.0" />
<PackageReference Include="CoffeeTrove" />
paket add CoffeeTrove --version 0.1.0
#r "nuget: CoffeeTrove, 0.1.0"
#:package CoffeeTrove@0.1.0
#addin nuget:?package=CoffeeTrove&version=0.1.0
#tool nuget:?package=CoffeeTrove&version=0.1.0
CoffeeTrove .NET
Cafe modeling, Golden Drop scoring, brew ratio calculation, and coffee origin data for the CoffeeTrove platform. CoffeeTrove maps over 440,000 cafes worldwide with quality scores, brewing guides, and bean profiles.
Installation
dotnet add package CoffeeTrove
Quick Start
Model a cafe, compute its Golden Drop score, and calculate a brew ratio:
using CoffeeTrove;
// Build a cafe with known data points
var cafe = new Cafe(
Name: "Blue Bottle Coffee",
City: "San Francisco",
Country: "United States",
HasWebsite: true,
HasPhone: true,
HasHours: true,
HasPhotos: true,
ReviewCount: 42,
ChainType: ChainType.Local);
// Golden Drop score factors in data completeness + independence
var score = GoldenDrop.Score(cafe);
Console.WriteLine($"{cafe.Name}: {score.Total}/100 ({score.Tier})");
// => Blue Bottle Coffee: 55/100 (Common)
Brew Ratio Calculator
Calculate water-to-coffee ratios for any brewing method with gram-level precision:
var ratio = BrewRatio.Calculate(method: BrewMethod.PourOver, coffeeGrams: 20.0);
Console.WriteLine($"{ratio.WaterMl:F0} ml water for {ratio.CoffeeGrams:F0}g coffee");
// => 320 ml water for 20g coffee
// French Press uses a coarser ratio
var french = BrewRatio.Calculate(BrewMethod.FrenchPress, coffeeGrams: 30.0);
Console.WriteLine($"{french.Ratio}:1 ratio => {french.WaterMl:F0} ml");
// => 15:1 ratio => 450 ml
Coffee Origins
Enumerate major coffee-producing origins with their regions:
foreach (var origin in Enum.GetValues<Origin>())
{
var info = OriginInfo.Get(origin);
Console.WriteLine($"{info.Country} ({info.Region}) - {info.AltitudeRange}");
}
// Ethiopia (Africa) - 1500-2200m
// Colombia (South America) - 1200-2000m
// ...
Scoring Tiers
The Golden Drop system assigns tiers based on total score:
| Tier | Score Range | Description |
|---|---|---|
| Legendary | 90-100 | Exceptional completeness and reviews |
| Excellent | 70-89 | Well-documented, active cafe |
| Common | 40-69 | Basic listing with some data |
| Sparse | 0-39 | Minimal information available |
API Surface
| Type | Description |
|---|---|
Cafe |
Immutable record representing a cafe listing |
GoldenDrop |
Scoring engine with data-completeness and independence bonuses |
BrewRatio |
Water-to-coffee ratio calculator for 7 brewing methods |
Origin / OriginInfo |
Enum and metadata for 12 coffee-producing origins |
ChainType |
Global chain, local chain, or independent classification |
Links
License
MIT License. See LICENSE for details.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 79 | 3/29/2026 |