comparison textshaper/textshaper.py @ 2:e5adf3414c6b

-> http://k0s.org/portfolio/ideas/cleanuptext.py
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 10 Aug 2013 22:08:26 -0700
parents 92baf2c5652f
children 6e382347af17
comparison
equal deleted inserted replaced
1:92baf2c5652f 2:e5adf3414c6b
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 2
3 """ 3 """
4 = textshaper = 4 textshaper : text manipulation
5
6 /text manipulation/
7 5
8 So you have a block of text ... 6 So you have a block of text ...
9
10 What do you want to do with it?!? 7 What do you want to do with it?!?
11 8
12 == Desired Functionality == 9 == Desired Functionality ==
10
11 - onelineit
12 - quoting
13 - dequoting (including e.g. +/-, diff-ish shit)
14 - remove whitespace
15 - removing timestamps
16 - removing/adding irc quote tags
13 17
14 == Previous work == 18 == Previous work ==
15 19
16 /corpus of past programs -> consolidate/ 20 /corpus of past programs -> consolidate/
17 21
18 - onelineit
19 - quoting
20 - dequoting (including e.g. +/-, diff-ish shit)
21 - removing timestamps
22 - removing/adding irc quote tags
23 22
24 Interface: 23 Interface:
25 - library code 24 - library code
26 - (n)curses 25 - (n)curses
27 - javascript/REST 26 - javascript/REST
41 40
42 Ubuntu packages: 41 Ubuntu packages:
43 - par (paragraph reformatter) 42 - par (paragraph reformatter)
44 """ 43 """
45 44
46 #!/usr/bin/env python
47 45
48 46
49 47
50 48
51 49
54 52
55 53
56 54
57 55
58 56
57