pepe was a python pre-processor that was missing conditionals and some more.
PyExpander could be an alternative to provide more full-feature pre-processing support.
Everything about usage, workflow and tooling with Python
pepe was a python pre-processor that was missing conditionals and some more.
PyExpander could be an alternative to provide more full-feature pre-processing support.
(Last update: Dec. 6, 2011, 10:07 p.m. by chris.)
The project Madagascar has a nice article about Reproducible computational experiments using SCons. This could extend the concpets described in my blog entry regrading writing/programming experiments.
(Last update: Oct. 7, 2011, 1:54 p.m. by chris.)
going from v0.9.0302 (Feb-2011) to v0.9.1104 (Nov-2011):
(Last update: Nov. 12, 2011, 11 a.m. by admin.)
Primarily Pandoc evaluates the possibility to write everything in a Pandoc input format and translate it from there into LaTeX and others. This input format could easily be reST.
(Last update: Oct. 5, 2011, 9:12 a.m. by chris.)
Today something that has nothing todo directly with python development but that seems to be able to improve development workflow when using different computers.
So far I had one central svn repostory hosted on a publicly available server. Any commit from any of my three development machines went to that sever and the others synchronzied via this repository. Drawback: I always needed to be online to commit anything.
In addition I had Trac running to add information and a ticket system to my development but for this to use I needed to be online as well.
Cons regarding the current soluton:
Pros so far:
To the rescue came Fossil :
Pros:
Cons:
Overall it seems that the easy installation and the all-in-one approach outweighs the drawbacks and I give it a try.
(Last update: Aug. 13, 2011, 11:13 p.m. by chris.)
searching for any kind of standard conventions to document functions and parameters in docstrings with reST I found the following
(Last update: Aug. 13, 2011, 6:14 p.m. by chris.)
bruce is a pretty nice start regarding a python/reStructuredText based presentation tools but seems not to be maintained any more and has some drawbacks regarding scaling and 16:9 vs 4:3 format handling.
Looking for alternatives where I can "program" my presentation I stumbled upon pygamelab which is a mere collection of packages combined for developing games, but one or the other (if not the whole package) could be used for a python based presentation tool
(Last update: May 10, 2011, 8:33 p.m. by chris.)
Unfortunately the option --use-floating-images does not work wioth rst2pdf if reportlab 2.5 is installed. Currently (Mar-2011) the only solution seems to be to revert reportlab to 2.4.
See also an issue at the rst2pdf homepage.
(Last update: March 25, 2011, 12:34 p.m. by chris.)
currently I'm looking at how to document scripts that I've written do perform some experiments written in python as well as the results coming out of the execution of those scripts. The conundrum here is how to do this consistently (keep code, results & docs in sync) and how to relate these things, if at all. Literate Programming to the rescue, but maybe not in the original sense. Somewhere on one of the pages referenced below I've read a statement similar to this (link will follow if I find it again):
Donald E. Knuth was an author who wanted to write books as a main goal and wanted to document the code samples that he used, whereas programmers want to write code and want have the proper documentation in addition. Therefore the notion of pure literate programming, where you generate code and docs from one source, is not adequate as there's always one additional step in the development cycle, the tangling, to generate executable/compilable code out of the master source.
I fully concur: web is something for authors but how do we deal with a more code centric approach? I've setup the following constraints to come up with a solution:
So far the following I've identified the following options
One good description integrating cog and Sphinx with paver can be found at Dough Hellmanns blog.
So far the a combination of pylit and cog is my favorite because, compared to pyreport, the documentation of the script (generated with pylit) and the documentation and explanation of the results (by executing cog) can be done separately. pyreport binds those two things quiet tightly together.
pyreport and also pweave have the very nice feature of automatically capturing all kinds of matplotlib based outputs, this is not inherently included in the pylit/cog combo.
A final decision is yet to be made.
(to be cont.)
(Last update: March 25, 2011, 10:02 p.m. by chris.)
there exist no comment for 'Blog'
loading...
Leave a comment