I have a trac wiki page I'd like to update automatically on a regular basis (say, once an hour) with data fetched by a script.
I can get the script to generate the wiki markup.
How would you then upload that to the trac page? I want to replace the whole body of the page.
I would prefer a solution in python, as the rest of the stack (trac, fetching scripts) also use that. Just a pointer in the right direction should be enough ;)
You can install the Trac XMLRPC plugin:
http://trac-hacks.org/wiki/XmlRpcPlugin
and then use the xmlrpc client library from the standard library. Then you'll be able to manipulate most aspects of Trac (tickets, wiki pages, etc) from a Python script.