mwh's blog
python, maths, partying and climbing

pydoctor convenience:

It's been a while since I've done much with pydoctor (and even longer since I posted here) but I've just added what I think is a reasonably nifty new command to it.

If you get revno 525 or newer of https://code.edge.launchpad.net/~mwhudson/pydoctor/dev, 'pydoctor --auto' should find all packages and modules in the current directory, analyze them and pop up your browser showing the index page for the api docs of what it found. pydoctor will be running in it's poorly advertised 'editing' mode, where it runs an HTML server that allows you to edit docstrings and get a diff of all the edits you've made.

Please try it and see how you find it!

[Comments] (3) pydoctor convenience:

It's been a while since I've done much with pydoctor (and even longer since I posted here) but I've just added what I think is a reasonably nifty new command to it.

If you get revno 525 or newer of https://code.edge.launchpad.net/~mwhudson/pydoctor/dev, 'pydoctor --auto' should find all packages and modules in the current directory, analyze them and pop up your browser showing the index page for the api docs of what it found. pydoctor will be running in it's poorly advertised 'editing' mode, where it runs an HTML server that allows you to edit docstrings and get a diff of all the edits you've made.

Please try it and see how you find it!

some nevow silliness: I have an application (pydoctor) that uses nevow for its html generation. One of the newer classes uses a big "loaders.stan" for its docFactory, and this was getting a bit unwieldy so I wanted to switch to using loaders.xmlfile. But that meant I had to convert the stan expression into a template, which seemed like it would be pretty boring. So I hacked instead, and wrote an implementation of nevow.inevow.IRendererFactory that, when the stan is rendered, produces as output xml suitable for use with loaders.xmlfile.

The (fairly insane in places) code is here. For an example of what it does, it turns this into this. It doesn't support slots or patterns or ..., just those things I needed so far. It says something for nevow that this is even remotely possible :-)

As I've been learning bzr recently, I've made http://python.net/crew/mwh/hacks/stan2xml/ a bzr branch. Try bzr branch http://python.net/crew/mwh/hacks/stan2xml/.

EuroPython 2007: Call for Proposals: After a some late night CPS wrangling (fortunately mostly not done by me; Paul Boddie is a hero), I'm very happy to announce the EuroPython 2007 call for proposals:

http://www.europython.org/sections/tracks_and_talks/announcements/call-for-proposals

on behalf of all the people involved in organizing EuroPython this year.

Calling the Python web community: I'm program chair for EuroPython (9th-11th July in Vilnius this year), and I need your help: a huge part of the Python community is involved in web-related technologies but I am not, so I'd like to get some help to make sure we get lots of quality submissions, and to assess the submissions we get. If you think you can help with this, please let me know! Either leave a comment here, mail me (micahel@gmail.com) or best of all, come along to our meeting in #europython on freenode tonight:

http://codespeak.net/svn/user/mwh/ep2007/meeting-agenda-2007-03-14.html
Let's keep the web track at EuroPython great!

2008 May
MonTueWedThuFriSatSun
   1234
567891011
121331415161718
19202122232425
262728293031 

0 entries this month.

Categories Random XML
Password:

[Show all]

Unless otherwise noted, all content licensed by Michael Hudson
under a Creative Commons License.