File tree Expand file tree Collapse file tree 3 files changed +47
-4
lines changed Expand file tree Collapse file tree 3 files changed +47
-4
lines changed Original file line number Diff line number Diff line change 1+ recursive-include examples *.py
2+ recursive-include tests *.py
Original file line number Diff line number Diff line change 1- ====
2- pyth
3- ====
1+ ========================================
2+ pyth - Python text markup and conversion
3+ ========================================
44
5+ Pyth is intended to make it easy to convert marked-up text between different common formats.
56
6- unit tests
7+ *Marked-up text* means text which has:
8+
9+ * Paragraphs
10+ * Headings
11+ * Bold, italic, and underlined text
12+ * Hyperlinks
13+ * Bullet lists
14+ * Simple tables
15+ * Very little else
16+
17+
18+ Formats I initially want to support are:
19+
20+ * xhtml
21+ * rtf
22+ * pdf (output)
23+
24+
25+ These three formats cover web, Word / OpenOffice, and print.
26+
27+
28+ Design principles
29+ =================
30+
31+ * Ignore unsupported information in input formats (e.g. page layout)
32+ * Ignore font issues -- output in a single font.
33+ * Ignore specific text sizes -- support relative sizes (bigger, littler) only. Output in a single base size.
34+ * Have no dependencies unless they are written in Python, and work
35+ * Make it easy to add support for new formats, by using an architecture based on *plugins* and *adapters*.
36+
37+
38+
39+ Examples
40+ ========
41+
42+ See `http://github.com/brendonh/pyth/tree/master/examples/`
43+
44+
45+ Unit tests
746==========
847
948The sources contains some unit tests (written using python unittest
Original file line number Diff line number Diff line change 33setup (name = "pyth" ,
44 version = "0.5" ,
55 packages = find_packages (),
6+ zip_safe = False ,
67
78 description = "Python text markup conversion" ,
89 author = "Brendon Hogger" ,
910 author_email = "brendonh@taizilla.com" ,
1011 url = "http://wiki.github.com/brendonh/pyth" ,
12+ long_description = open ('README' ).read (),
1113)
You can’t perform that action at this time.
0 commit comments