Skip to content

espmancer/glg-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glg-py

A grocery list generator made in Python. Originally I used Dataview within Obsidian to generate a numerically sorted list of items I linked in another list of recipes. Each entry was its own page with metadata, which got tricky to work with on mobile. After that I tried to make it in using JSON and a JSONPath addon in LabVIEW called JSONText, but I suddenly needed to fix problems in that JSONText library in order to get it to do what I wanted, so I switched to Python and Tkinter instead.

How It Works

  • This program uses and manipulates a list multi-delimited strings stored in a txt file within the application.
  • There are functions to add, remove, and edit these strings.
  • Once the list is configured, an alphanumerically sorted list of items and their aisles is created, with each item having the markdown checkbox.
    • Like this

To Run

  1. Download zip.
  2. Extract zip to desired folder.
  3. Go into glg-1.0/dist
  4. Run "main.exe"

Items

Items are the most concrete level of elements in the list. They contain a name and three aisles, which is formatted as such:

I:Example Item|A1|A2|A3

Currently the aisles are hardcoded and are specific to Walmart's aisle system, but I may add functionality to add and edit stores and their particular locations.

Recipes

Recipes are lists of items. They contain a name and delimited string of items, and are formatted as such:

R:Example Recipe|Item A, Item B

Future Ideas

  • I may try and make this compatible with mobile and remove a computer from the equation altogether. Python has an Android library that I might be able to use.
  • As mentioned before, locations may be configurable in the future. <<<<<<< HEAD <<<<<<< HEAD
  • Abstract "Configurables" class that items and recipe classes can override =======
  • Options to format the final list to a specific app (e.g. To Do, Keep, Obsidian)

0e00ed7 (Add app config idea) =======

  • Options to format the final list to a specific app (e.g. To Do, Keep, Obsidian)

refs/remotes/origin/main

About

Grocery list generator made in python.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages