Commit graph

287 commits

Author SHA1 Message Date
Klaus-Uwe Mitterer
c66931d713 Add -a switch for running averages 2015-04-28 21:56:42 +02:00
Klaus-Uwe Mitterer
b112632d5e Handle sqlite3.Cursor() objects in getdates 2015-04-28 10:41:49 +02:00
Klaus-Uwe Mitterer
c9a7ce03c0 Revert change of executeQuery() return type 2015-04-28 10:39:30 +02:00
Klaus-Uwe Mitterer
ca332951fa Prepare getdates for running average calculation
Include days with 0 tweets in getdates output
2015-04-27 23:43:36 +02:00
Klaus-Uwe Mitterer
d854411884 Change return type of tools.dbObject().executeQuery() to list 2015-04-27 23:32:03 +02:00
Klaus-Uwe Mitterer
ba433a79e7 Change return type of getTweetsByDate() to list
Concatenate lists to have one less call of tools.printCSV()
2015-04-27 20:37:37 +02:00
Klaus-Uwe Mitterer
4371ba7b41 Remove the "coding" lines at the beginning of the file 2015-04-27 18:28:16 +02:00
Klaus-Uwe Mitterer
7ee1a707e3 Rename datecsv to getdates 2015-04-27 17:29:37 +02:00
Klaus-Uwe Mitterer
0cacd2d0c7 Add -w switch to getmentions allowing to get stats for all words (whitespace-delimited strings) ever tweeted 2015-04-25 01:25:33 +02:00
Klaus-Uwe Mitterer
def6fca403 Add headers to datecsv output 2015-04-25 00:28:20 +02:00
Klaus-Uwe Mitterer
e2ab015218 Change return value of datecsv.getTweetsByDate() to a list of tweets rather than None
Move CSV output function to tools.printCSV()
2015-04-24 23:33:42 +02:00
Klaus-Uwe Mitterer
6a1cce1b97 Use csv.writer().writerows() rather than explicitly looping through with writerow() 2015-04-24 23:05:39 +02:00
Klaus-Uwe Mitterer
f83c69f902 Allow date filtering in datecsv using -f and -t flags (from and to) 2015-04-23 00:57:24 +02:00
Klaus-Uwe Mitterer
591e9bf562 Changes to getmentions 2015-04-22 02:06:47 +02:00
Klaus-Uwe Mitterer
4fd256cde3 Make filler use tools 2015-04-22 02:06:32 +02:00
Klaus-Uwe Mitterer
5325d064da Fix makedb bug introduced in 19ae6e4a 2015-04-22 00:42:20 +02:00
Klaus-Uwe Mitterer
a1d0c7fd97 Simplify dbHelper 2015-04-22 00:21:16 +02:00
Klaus-Uwe Mitterer
3feb8c0455 Finally convert datecsv to Python3 2015-04-22 00:16:42 +02:00
Klaus-Uwe Mitterer
19ae6e4a31 Move common functions to tools.py
Move gethandles and gethashtags into getmentions
Make getmentions and makedb use tools
2015-04-21 23:07:25 +02:00
Klaus-Uwe Mitterer
2cc64919fd Allow filler.py to use the external config file
Check in sample config file
2015-04-16 00:53:15 +02:00
Klaus-Uwe Mitterer
87a4add95f Allow gethandles.py and makedb.py to use external config file 2015-04-16 00:17:11 +02:00
Klaus-Uwe Mitterer
f23bc8dce7 Update makedb.py 2015-04-14 16:27:08 +02:00
Klaus-Uwe Mitterer
305eed1519 Merge git.klaus-uwe.me:kumitterer/twistats 2015-04-14 14:14:24 +02:00
Klaus-Uwe Mitterer
ebc4b87952 Modify merge result to get (hopefully) valid Python 3 2015-04-13 23:00:36 +02:00
Klaus-Uwe Mitterer
3a5bd76e05 Merge branch 'master' of git.klaus-uwe.me:kumitterer/tweetdb 2015-04-13 22:59:16 +02:00
Klaus-Uwe Mitterer
af14406224 Convert all scripts to Python 3 2015-04-13 22:58:32 +02:00
Klaus-Uwe Mitterer
0c4eb44444 Convert gethandles.py to Python 3
Directly output datecsv.sh results
2015-04-13 22:11:42 +02:00
Klaus-Uwe Mitterer
bd7840f159 Make sure nobody accidentally executes this and then wonders what's going on... 2015-04-13 02:14:34 +02:00
Klaus-Uwe Mitterer
284e64daee Add error handling to filler.py, allowing empty databases to be filled
Initial (non-functional) check-in of the CSV to sqlite3 converter
2015-04-13 01:58:32 +02:00
Klaus-Uwe Mitterer
cf2e246db1 Check in CSV generator and Handle Extractor (basically the same thing in two different versions) 2015-04-13 00:08:33 +02:00
Klaus-Uwe Mitterer
fd6089acac Removed CSV generator -> now in kumitterer/twistats 2015-04-13 00:02:02 +02:00
Klaus-Uwe Mitterer
379c2d4c8c Actually add spaces after words. ^^ 2015-03-19 15:40:36 +01:00
Klaus-Uwe Mitterer
c643308ec7 Fix typo 2015-03-19 02:00:10 +01:00
Klaus-Uwe Mitterer
d01c6581dc Allow Transbot to handle multi-sentence tweets. 2015-03-19 01:57:48 +01:00
Klaus-Uwe Mitterer
9afd088394 Remove my Twitter handle from the script. ^^ 2015-03-19 01:31:18 +01:00
Klaus-Uwe Mitterer
5b01b71257 Check in current running version of Transbot 2015-03-19 01:28:56 +01:00
Klaus-Uwe Mitterer
89bccfba67 Check in Twitter Database Tools 2015-03-09 18:32:24 +01:00