Skip navigation.
Home

Python

Nevow HTML Table rendering with xhtml template and stan

Very short example of a Page with xml template and a table which is used to render some data (with stan).
Thanks to Brend for sharing this with me (he also said that there is probably some way to do it without stan, but I quite like this as it is easy to use):

Nevow DropDownListWithDefault class (Element)

I wrote a page with quite a few dropdown lists .. since it gets tedious to just copy and paste I wrote myself a DropDownList class which takes a name and default:

Nevow basic container Page + Page/Element with Data

Here some small code - snippets where some form of data gets passed to a page / element. This could of course be changed to get more data or not a dict/axiom db but I prefer it this way (Pretty much every axiom/nevow app will need something like this afaik):

Nevow examples and explainations

Just a page to put some examples / notes that help me learn to use nevow (again) :)
I'm not going to explain how to add a resource/page to a twisted.web server here for that please look on other howtos and stuff .. or maybe I'll add it at a later point.

MultiRenamer

MultiRenamer is a tool i wrote as i needed a reliable way to rename lots of files according to a pattern (regex 'only' at the moment Eye-wink).

It is written in python and uses Jason Orendorff's path.py. Currently the only thing working is the ConsoleMultiRenamer. I'm planning on adding a gui as well as soon as I get time but the console version works quite well - apart from not really existent handling of errors in regex and/or replacement patterns.

FWAT - FireWall Administration Tool

A (simple) firewall administration tool which generates shell scripts as output to be used on servers (or desktop machines too of course).

This was a project which I worked on together with a Friend of mine in school and unfortunately hasn't been updated since then, though I think most things will still work, but new stuff will be missing.

Syndicate content