]>
git.armaanb.net Git - phrases.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Armaan Bhojwani [Sat, 19 Dec 2020 15:15:22 +0000 (10:15 -0500)]
intial switch to sqlite
Needs a lot of cleanup and optimization, but it is already about twice
as fast as it was with csv
Armaan Bhojwani [Fri, 4 Dec 2020 16:25:12 +0000 (11:25 -0500)]
add -o flag
Armaan Bhojwani [Wed, 2 Dec 2020 23:41:15 +0000 (18:41 -0500)]
make database-file location more flexible
Make the program look for the phrase database first in a user defined
location, then in the current directory, then in /usr before giving up
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
Armaan Bhojwani [Wed, 2 Dec 2020 21:24:06 +0000 (22:24 +0100)]
Fix README formatting
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
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
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
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
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
Armaan Bhojwani [Tue, 1 Dec 2020 00:07:37 +0000 (19:07 -0500)]
first push