Skip to content

BulletTime is a repo for my utilities around the RoasTime/Roast.World with a starter for the (related) ballistics module

Notifications You must be signed in to change notification settings

themcclure/bullet-time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aillio Bullet R1, powered by Ballistics

I wanted to process all the data that the RoasTime and Roast.World collects about all the coffee roasting. I wrote this module to automatically do some calculations, generate labaels and upload it all to my Headless CMS that feeds my website.

Configuration

Create .env file for all the local configuration settings.

See .env.example for details on what options are available.

TODO:

  • Add roast level to the label
  • Consider iterating on all environment variables beginning with 'BALL_' and auto processing those into the environment

Applications

Here are the applications in use in this repo that make use of the proto-module "ballistics".

Batch Process (process_all.py)

This processes all the beans and roasts into an output directory

TODO:

  • initial commit
  • generate some kind of report on bean quantities/usage

Load One (load_one.py)

This loads one roast, for quick checking and debugging. Design to be run in an interactive shell so that the loaded objects (and raw JSON) can be explored interactively.

TODO:

  • take runtime args for which roast (by number, name?)

Ballistics Module

This is where I have wrapped up the module with some utility programs.

Classes

Bean

Attributes:

  • list TBC
  • raw: the raw JSON file loaded from RoasTime
  • roasts: a list of roastIds that use this bean

Roast

Attributes:

  • list TBC
  • raw: the raw JSON file loaded from RoasTime

Functions:

  • find_roast_by: find roasts by partial match on name or beanId if 'beanid' flag is set

RoastCollection

A collection of Roast objects

Attributes:

  • roasts: a list of Roast objects

TODO:

Ballistics Module:

  • There are many things to do!
  • Additional commentary from other sources to be brought in and added to the Contentful content
  • Make up labels in two sizes, at high resolution
  • Save to md/Contentful/other
  • generate profile graph

Applications

  • There are many things to do!
  • .env.placeholder to show all the options that can be overridden
  • Cupping scores
  • Reviews from drinkers
  • Aggregate scores from roasts to the bean as a whole
  • Tasting notes (keyword tagging a la Untapped?)
  • Assembling blend recipes, harking to the component beans

Releases

Target for first release

About

BulletTime is a repo for my utilities around the RoasTime/Roast.World with a starter for the (related) ballistics module

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages