Skip to content

Lets you enter daily tarot cards then renders reports of trends across time: distribution of suits over time, reverses, etc.

License

Notifications You must be signed in to change notification settings

brighaus/tarot-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tarot-tracker

Python 3 application that lets you enter daily tarot cards then renders reports of trends across time: distribution of suits over time, reverses, etc.

Useage

  • from package root> pip3 install -e .
  • create sample database: see make_db below
  • to make a new daily entry:
    • $> python3 app/db_util.py -n

app:

  • data_manager.py

    • manages the data at the cache level, only calling file i/o when cache goes stale
    • has test coverage, see: test
  • data_mule.py

    • handles file i/o
  • db_config.py

    • databse constants
  • db_util.py

    • Accesses the datamanager to make CRUD manipulations on the db.
  • init_data.py

    • parses raw data from csv files with sample data
  • input_client.py

    • TKinter popup window input client
  • make_db.py

    • calls init_data methods to create a shelf database with sample data
    • to build a db from sample data:
      1. (from tarot-tracker root)$> rm data tarot_dailies*
      • this removes both test and prod dbs
      1. (from python REPL or script) import app.make_db as mdb
      2. mdb.dump_db() or mdb.dump_test_db()
  • models

    • card: data model for a tarot card
    • daily_tt: data model for a daily tarot card pull
  • read_db.py

    • CLI access for running lightweight queries against the database
  • report.py

    • class for managing the display of the data
  • report_client.py

    • client giving a CLI for generating reports
    • get help:
      • $> python3 app/report_client.py -h
    • generating a test report after running make_db (above):
      • $> python3 app/report_client.py -r -t suit_rank_date -dr '06/01/2014|07/01/2014' -f html
  • test

    • container for test classes
      • pip3 install nose
      • from package root> nosetests -v

About

Lets you enter daily tarot cards then renders reports of trends across time: distribution of suits over time, reverses, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages