Commit Graph

89 Commits

Author SHA1 Message Date
Jeremy Fincher
325e751149 Added a docstring and doctested nItems. 2003-10-04 13:04:01 +00:00
Jeremy Fincher
0aa448bfc7 Added keyword option And to commaAndify to allow specifying a word other than 'and' as the last separator. 2003-09-12 08:55:30 +00:00
Jeremy Fincher
6aa3e06402 Raise ValueError in the case of bad input. 2003-09-08 06:10:06 +00:00
Jeremy Fincher
757154313e Added first exception for pluralize. 2003-09-07 05:48:20 +00:00
Jeremy Fincher
15f4ad8e60 Converted timeElapsed to use nItems. 2003-09-05 06:50:06 +00:00
Jeremy Fincher
f65829b768 Moved several things from fix.py to utils.py. 2003-09-04 20:42:37 +00:00
Jeremy Fincher
4c980aeb3e Added nItems. 2003-09-03 09:40:26 +00:00
Jeremy Fincher
a764de50ad Added sortBy, which uses the decorate/sort/undecorate pattern to sort by a certain criteria. 2003-09-03 08:51:45 +00:00
Jeremy Fincher
83707f81c1 Added normalizeWhitespace. 2003-09-01 18:39:27 +00:00
Jeremy Fincher
30d3747f1d Added utils.pluralize. 2003-09-01 05:42:35 +00:00
Jeremy Fincher
1cd7ccbfa4 Found bug in perlReToPythonRe and fixed it. 2003-08-30 18:39:19 +00:00
Jeremy Fincher
b572562cb3 Added utils.wrapLines and wrapped the lines of each plugin's example. 2003-08-27 16:25:43 +00:00
Jeremy Fincher
53d883710e Added unCommaThe function. 2003-08-23 07:57:04 +00:00
James Vega
ab93b9072f Committing jemfinch's commaAndify fixes 2003-08-22 21:31:17 +00:00
Jeremy Fincher
6bfd991947 commaAndified timeElapsed. 2003-08-21 16:31:11 +00:00
Jeremy Fincher
4858770ee7 Ew, modified the original argument in utils.commaAndify. 2003-08-21 11:47:43 +00:00
Jeremy Fincher
01eb6934ef Added function commaAndify to turn a list of strings into a proper English foo, bar, and baz string. 2003-08-20 09:24:57 +00:00
Jeremy Fincher
3e58971fe6 Line shortened. 2003-08-19 19:02:59 +00:00
Jeremy Fincher
7fd35a1071 Made some changes to satisfy PyChecker. 2003-08-19 10:38:45 +00:00
Daniel DiPaolo
83c44eecab * added new utility, findBinaryInPath which searches the PATH for a specific binary
* removed getSpellBinary, and replaced with findBinaryInPath calls
2003-08-17 20:09:09 +00:00
Jeremy Fincher
e3364e0fdd string_escape is better than unicode_escape. 2003-08-17 06:28:05 +00:00
Jeremy Fincher
f9e6777f08 Added more docstrings. 2003-08-10 10:45:44 +00:00
Jeremy Fincher
36996dd3cf Updated stuff for 2.3 to break 2.2 compatibility :) 2003-08-07 02:48:44 +00:00
Jeremy Fincher
1cae9664a7 Upgraded to 2.3. 2003-07-31 06:20:58 +00:00
Jeremy Fincher
a35bf21b4e Made sure utils.timeElapsed doesn't go all decimal on me. 2003-06-03 03:18:14 +00:00
Jeremy Fincher
09340376cb Changed utils.timeElapsed to use just a seconds instead of a now/then argument. 2003-05-20 15:37:25 +00:00
Jeremy Fincher
a11f302c9d Added perlReToPythonRe and perlReToReplacer and associated tests. 2003-04-16 05:26:24 +00:00
Jeremy Fincher
6287d61d9e Added dqrepr. 2003-04-12 12:50:20 +00:00
Jeremy Fincher
16374c53d6 Fixed bug (and added test) in distance. 2003-04-06 15:10:14 +00:00
Jeremy Fincher
e4715d4d3f Added length=0 handling to soundex to return the everything. 2003-04-05 11:29:29 +00:00
Jeremy Fincher
a50643c025 Added soundex to utils (along with a test) and to FunCommands. 2003-04-05 11:23:28 +00:00
Jeremy Fincher
e962cc1d77 Added test for abbrev and fixed a bug it found. 2003-04-04 16:14:58 +00:00
Jeremy Fincher
100d0fa016 Added levenshtein distance 2003-04-04 15:49:24 +00:00
Jeremy Fincher
1eb088de21 Added timeElapsed and converted FunCommands to use it. 2003-04-03 09:11:57 +00:00
Jeremy Fincher
5ef1d3eaaa Added keyword arg to htmlToText to determine how to replace HTML tags. 2003-04-02 09:20:49 +00:00
Jeremy Fincher
68dbb32d94 Added __future__ import 2003-03-31 06:55:34 +00:00
Jeremy Fincher
10a65f7399 Added abbrev 2003-03-31 05:14:21 +00:00
Jeremy Fincher
ebd8cfd210 Fixed whitespace bug in HTML stripper. 2003-03-27 20:14:17 +00:00
Jeremy Fincher
fc20715427 Added utils.py, with a quality HTML stripper; removed stripHtml from other source files 2003-03-27 20:10:10 +00:00