Commit Graph

51 Commits

Author SHA1 Message Date
Jeremy Fincher 93f02aa959 Added curry to fix.py, converted some code to use it. 2003-11-04 08:26:54 +00:00
Jeremy Fincher d174226c5c Added the ability to do hashed passwords. 2003-10-28 15:13:53 +00:00
Jeremy Fincher b63f2170e8 Added a saltHash function. 2003-10-28 14:20:00 +00:00
Jeremy Fincher eaa15860d8 Made sure commaAndify raises TypeError when it's given lists of non-strings. 2003-10-28 05:10:03 +00:00
Jeremy Fincher 7ae53ef169 Added loss to the plurals dictionary. 2003-10-27 23:57:34 +00:00
Jeremy Fincher 5ff709375e Oops, forgot the docstring. 2003-10-16 20:06:17 +00:00
Jeremy Fincher 2ffe5a13dd Added depluralize function and fixed latent (untested) capitalization buggerishness. 2003-10-16 20:05:45 +00:00
Jeremy Fincher ed3d757081 Made perlReToPythonRe always raise a ValueError instead of re.error. 2003-10-15 05:07:07 +00:00
Jeremy Fincher b692681e1c Found bug in utils.sortBy, mentioned by Tim Peters on Python-dev. Fixed, and tested. 2003-10-14 03:47:35 +00:00
Jeremy Fincher a0fe5410c0 Fixed bug in perlReToReplacer where escaped slashes would stay in the output. 2003-10-12 13:11:53 +00:00
Daniel DiPaolo d9d141a8e7 * Added the most horribly named command ever - utils.ellipsisify 2003-10-10 04:28:49 +00:00
Jeremy Fincher 970c819e79 Changed fix.py to munge __builtins__ rather than requiring a "from fix import *" statement. 2003-10-05 12:47:19 +00:00
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