summary refs log tree commit diff
path: root/kaylee.py
AgeCommit message (Collapse)Author
2016-02-16Reorganize classes into a "kayleevc" packageClayton G. Hobbs
That's "Kaylee Voice Command" if you didn't figure it out. I think everything still works properly, but I'll do more testing later to verify.
2016-02-12Remove __future__ print_functionClayton G. Hobbs
It turns out I'm using Python-3-specific features elsewhere in the code, so there's no reason to continue partially trying to support Python 2.
2016-02-12Only write the strings file if necessaryClayton G. Hobbs
Now we check a hash of the voice commands before writing the strings file to reduce how much we write to the hard disk. In implementing this, I realized that some code was being duplicated in an easily fixable way, so I created a Hasher object that keeps track of the hash.json file. Resolves #6
2016-02-04Open all files using with blocksClayton G. Hobbs
I truly am a modern Python man.
2016-02-04Removed unused import in kaylee.pyClayton G. Hobbs
2016-02-04Moved command configuration to options.jsonClayton G. Hobbs
It makes sense to put all the configuration in one place, no?
2016-02-03Wrap long lines in kaylee.pyClayton G. Hobbs
2016-01-02Update copyright for 2016Clayton G. Hobbs
2015-12-30Added number parsing capabilitiesClayton G. Hobbs
See commands.tmp for an example. It's pretty neat, but it could still use some work. I thought of a really clever way to parse numbers, better than the one I came up with last night, but since I have a working implementation now I figure I'd better commit it. We have a new bug which causes the dictionary to be updated every time the program starts. I hope I didn't force that to happen last night or something, but I have a vague feeling I did.
2015-12-27Rename blather.py to kaylee.pyClayton G. Hobbs