Archive for the 'Python' Category

Early Riser - Day 4

Thursday, January 19th, 2006

So I have become interested in AI again in the past few days. A couple weeks ago, I read an article in Wired about the Grand Challenge - basically, a race across miles and miles of desert where the cars have no drivers. Well, no human drivers at least. The cars have some sort of AI that guides each of them. (more)

Buffet 0.6 Released

Saturday, January 7th, 2006

It’s late now, and I’m tired, but I have released Buffet 0.6 (original release announcement). The major change in this release is that Buffet no longer depends on the builtin template “adapters” included in previous versions. Kevin from TurboGears and I worked out a common templating engine plugin format that both of our projects can share (and since they are not tied to Buffet, TG or CherryPy, other projects can use the plugins as well).

Buffet: a full spread of templates

Monday, December 26th, 2005

I wrote a new filter for CherryPy late last week. Buffet supports templating with Cheetah, Kid, Myghty and simple Python String Templates. In your page handlers, you either return a tuple of (’template_name.tmpl’, {’foo’:’bar’, ’spam’:’eggs’}) or use a decorator to specify the template and simply return a dict from your page handler. [...]

PHPFilter

Friday, October 21st, 2005

The other day, there was talk on IRC about CherryPy not being able to replace PHP in simple cases and I jokingly suggested a “PHPFilter” for CherryPy.

Rendering Arbitrary Objects with Nevow CherryPy

Thursday, October 13th, 2005

I decided to rewrite a Python Cookbook recipe using CherryPy.
I don’t have anything against Twisted or Nevow, but there are just too many recipes devoted to them in the 2nd edition of the Python Cookbook.
It’s a testament to the simplicity of Python and CherryPy that I was able to create a recipe [...]

filterized…

Thursday, October 6th, 2005

I converted part of MultiAuth to a filter this evening. It is now at version 0.7. It still has the metaclass and decorators for setting roles, but the actual authentiation and access control happens in the filter. I don’t recommend using 0.7 it at this point - I just put it out [...]

MultiAuth News

Thursday, October 6th, 2005

I have not forgotten MultiAuth, my little authentication/access control library for CherryPy. It has been working for me so I haven’t made any changes recently, but I have had some ideas that I have been playing with.
The main thing I have been fiddling with in my spare time is converting it to a CherryPy [...]

pysourcecolorfilter

Friday, September 16th, 2005

Wrote a new filter for CherryPy this evening. PySourceColorFilter makes use of PySourceColor to colorize Python source code files. The XHTML+CSS is generated on the fly using PySourceColor and returned to the browser. It is not feature-complete yet, but it is usable.
cw

Farewell, CherryAuth…

Monday, September 12th, 2005

…hello, MultiAuth.
As I began to hang out with the CherryPy community more, I understood that using the “Cherry” prefix was somewhat of a mistake as it tied it too closely to the project itself. Of course, no one overtly mentioned that (they are too nice ), but it just sunk in [...]

New Software Projects Site

Friday, August 26th, 2005

For those of you seeking the goods, they can now be found at my new projects site. Recursively, one of the available projects is the project site itself: brockman*. Just install it, add your own projects, and away you go.
brockman is written in Python (of course) using the CherryPy web application framework and [...]