]> git.armaanb.net Git - phrases.git/log
phrases.git
3 years agoadd argument parsing, fix program logic
Armaan Bhojwani [Wed, 2 Dec 2020 23:16:22 +0000 (18:16 -0500)]
add argument parsing, fix program logic

  * Add argument parsing to extract.py to be able to configure a custom
    output file

  * Update README formatting

  * Fixed program logic in phrases.py, where the program would reference
    the wrong list

  * Lots of general code cleanup and refactoring

3 years agoFix README formatting
Armaan Bhojwani [Wed, 2 Dec 2020 21:24:06 +0000 (22:24 +0100)]
Fix README formatting

3 years agofix anomolies in CSV, more efficient processing
Armaan Bhojwani [Wed, 2 Dec 2020 21:08:52 +0000 (16:08 -0500)]
fix anomolies in CSV, more efficient processing

  * Update README

  * Fix extraction issue with tables nested within tables

  * More cleanly handle error

  * Eliminated need to run reader twice

3 years agochange to CSV instead of fortune-style database
Armaan Bhojwani [Tue, 1 Dec 2020 23:08:42 +0000 (18:08 -0500)]
change to CSV instead of fortune-style database

This drastically simplified the code, although some further cleanup
is still necesary

3 years agoadd argparsing, branding
Armaan Bhojwani [Tue, 1 Dec 2020 17:36:13 +0000 (12:36 -0500)]
add argparsing, branding

  * Add argument parsing and ability to output more than just the latin
    phrase
  * Add logo

3 years agoupdate formatting and convinience
Armaan Bhojwani [Tue, 1 Dec 2020 15:25:23 +0000 (10:25 -0500)]
update formatting and convinience

  * Add extract-install make target
  * Make README more descriptive
  * Change all occurences of 'fortune' to 'phrase'
  * Update comments at start of files

3 years agoFinish basic form of program
Armaan Bhojwani [Tue, 1 Dec 2020 15:06:54 +0000 (10:06 -0500)]
Finish basic form of program

The basic form of the program is now working, it just returns a random
fortune when called

3 years agofirst push
Armaan Bhojwani [Tue, 1 Dec 2020 00:07:37 +0000 (19:07 -0500)]
first push