4 `Literate Programming`_ with reStructuredText_
8 The idea is that you do not document programs (after the fact), but
9 write documents that *contain* the programs. [1]_
12 :description: Literate Programming with reStructuredText
13 :keywords: reStructuredText, Docutils, software development
18 PyLit (Python Literate) provides a plain but efficient tool for
19 literate programming: a `bidirectional text/code converter`_.
26 .. _bidirectional text/code converter: features.html#dual-source
27 .. _literate programming: literate-programming.html
54 The PyLit project is hosted at https://codeberg.org/milde/pylit
61 Usage, behaviour, and API are not fixed yet. Ideas and feedback welcome.
63 The `PyLit source`_ has a chapter on open questions and ideas.
65 .. _versions: examples/pylit.py.html#changelog
67 .. _PyLit source: raw/master/pylit.py
68 .. _open questions: examples/pylit.py.html#open-questions
74 © 2005, 2007, 2015, 2022 Günter Milde.
77 PyLit is `free software`_, released under the `GNU General Public License`_
78 (GPL) version 2 or later.
80 PyLit is distributed in the hope that it will be useful, but WITHOUT ANY
81 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
82 FOR A PARTICULAR PURPOSE. See the `GNU General Public License`_ for more
85 I am using PyLit in my daily work for more than ten years now without major
86 problems. It works for me, but your mileage might vary.
88 Remember to back up your data. A version control system is recommended.
90 .. _`free software`: http://www.gnu.org/philosophy/free-sw.html
91 .. _`GNU General Public License`: http://www.gnu.org/copyleft/gpl.html
97 The PyLit documentation is created from `reStructuredText`_ sources with
98 Sphinx_. It is located at https://milde.codeberg.page/PyLit/.
100 .. _reStructuredText: https://docutils.sourceforge.io/rst.html
101 .. _Sphinx: https://www.sphinx-doc.org/
105 .. [1] John Max Skaller in a `Charming Python interview`_
107 .. _Charming Python interview:
108 http://www.ibm.com/developerworks/library/l-pyth7.html