Commit Graph

104 Commits

Author SHA1 Message Date
Jeremy Carbaugh
984b1b6550 add FallbackCounter class used with Python 2.6 since collections.Counter was added in Python 2.7 2012-03-14 00:01:10 -07:00
Jeremy Carbaugh
adf665fcaa don't call skipTest on python 2.6 2012-03-13 23:48:53 -07:00
James Turk
99f2905c86 travis 2012-03-13 23:16:31 -07:00
James Turk
91143a7da0 Merge branch 'py3' 2012-03-13 11:28:03 -07:00
Jeremy Carbaugh
05f8d4c24c fix SqlDumpEmitter and write basic test 2012-03-12 17:39:26 -07:00
Jeremy Carbaugh
5ac3948ffe add JSONSource test 2012-03-12 17:09:55 -07:00
Jeremy Carbaugh
e0e4dd43e2 switch from BeautifulSoup to lxml 2012-03-12 16:09:15 -07:00
Jeremy Carbaugh
c7544204d8 add test for HtmlTableSource 2012-03-12 15:57:57 -07:00
Jeremy Carbaugh
4225b96ae1 fix sqlite emitter and add test 2012-03-12 00:03:20 -07:00
Jeremy Carbaugh
0e2caaf77c unicodecsv is no longer required 2012-03-11 23:18:23 -07:00
Jeremy Carbaugh
7f69f6a769 use cStringIO on Python 2.x, io.StringIO on 3.x 2012-03-11 23:17:02 -07:00
Jeremy Carbaugh
79976e3c78 remove print statement 2012-03-11 23:16:33 -07:00
Jeremy Carbaugh
d5b56b931b whole bunch of changes to support new unicode-based strings in Py3 2012-03-11 23:14:39 -07:00
Jeremy Carbaugh
46c8ab3ae3 remove duplicate test method 2012-03-11 22:54:22 -07:00
Jeremy Carbaugh
432c4f22ee handle removal of xrange 2012-03-11 22:26:29 -07:00
Jeremy Carbaugh
de72f7755c make int casting explicit 2012-03-11 22:19:15 -07:00
Jeremy Carbaugh
fad10e5a98 use either urllib2 or urllib.request as necessary 2012-03-11 22:18:12 -07:00
Jeremy Carbaugh
8d512d7e07 handle switch from generator next() to __next__() 2012-03-11 22:17:20 -07:00
Jeremy Carbaugh
e5f1012e17 use new as keyword for exceptions 2012-03-11 22:14:24 -07:00
Jeremy Carbaugh
1cfc4404cf change import to package relative import 2012-03-11 22:06:14 -07:00
Jeremy Carbaugh
12847d342e change iteritems and iterkeys to items and keys views 2012-03-11 22:05:46 -07:00
Jeremy Carbaugh
c25550f8da remove print statement 2012-03-11 21:51:58 -07:00
Jeremy Carbaugh
6503320b39 add requirements file for unicodecsv 2012-03-11 21:48:42 -07:00
James Turk
20b1e52dd5 initial docs 2012-03-11 15:40:43 -07:00
James Turk
196259e6c0 Merge branch 'master' of github.com:sunlightlabs/saucebrush 2012-01-06 22:52:38 -05:00
Jeremy Carbaugh
ac096b862f add some unncessary complexity to Histogram for sorting values alphabetically and by most common 2011-09-19 15:23:02 -04:00
Jeremy Carbaugh
638183b562 add prep_field method to histogram to allow for custom labeling and grouping of values 2011-09-19 14:41:54 -04:00
Jeremy Carbaugh
cc42012daf add class docs to Histogram 2011-09-19 14:07:03 -04:00
Jeremy Carbaugh
cdcee89658 add basic histogram stats filter 2011-09-19 14:01:36 -04:00
Jeremy Carbaugh
1587624d22 add FieldKeeper filter 2011-09-15 11:09:04 -04:00
Jeremy Carbaugh
ecbd41808a add doc for CountEmitter 'of' parameter 2011-09-14 14:21:04 -04:00
Jeremy Carbaugh
ddd81c96b1 update CountEmitter to take an optional of argument to display 'x of y' 2011-09-14 13:49:23 -04:00
Jeremy Carbaugh
42213ff106 add test for median with an even number of values 2011-09-14 13:23:22 -04:00
Jeremy Carbaugh
7e7893109a median will now return a float with both even and odd number of values 2011-09-14 13:22:52 -04:00
James Turk
b3b491d927 Merge branch 'master' of github.com:sunlightlabs/saucebrush 2011-08-04 11:39:32 -04:00
James Turk
6bb753d2b1 LICENSE 2011-08-04 11:39:28 -04:00
James Turk
7de29b7b92 bump version 2011-06-03 16:29:52 -04:00
Jeremy Carbaugh
662b43b0ed move import 2011-06-03 13:56:37 -04:00
Jeremy Carbaugh
f0543842c1 add RemoteFile object for streaming from URL 2011-06-03 12:52:13 -04:00
Jeremy Carbaugh
b47cc70d92 add basic tests for stats filters 2011-06-03 10:56:16 -04:00
Jeremy Carbaugh
2e6723c15e update stats filters 2011-06-03 10:55:57 -04:00
Jeremy Carbaugh
687679c6e4 stats 2010-08-19 15:18:39 -04:00
Jeremy Carbaugh
2123977895 add CountEmitter and test 2010-07-14 14:54:26 -04:00
Michael Stephens
4c025493b1 improve exceptions 2010-07-01 13:47:22 -04:00
Michael Stephens
e8ce9948de test run_recipe 2010-06-30 15:31:30 -04:00
Michael Stephens
a0d3010c0c test for double done() exception 2010-06-30 15:29:05 -04:00
Michael Stephens
636e17d89c check for run() call on finished recipe 2010-06-30 15:07:21 -04:00
Michael Stephens
e201df8eda include exception data in error stream output 2010-06-30 14:27:57 -04:00
Michael Stephens
54a99d4d05 added basic error stream support 2010-06-30 14:13:31 -04:00
Michael Stephens
c5770668e0 allow first argument of MongoDBEmitter to be a pymongo.database.Database instance 2010-06-30 11:33:58 -04:00