I'm working on the same thing at the moment. You might want to refer
to:
http://groups.google.com/group/pylons-discuss/browse_thread/thread/dae2ef02449b7fdb/cd4ced39fe351b22?lnk=gstq=captcha#cd4ced39fe351b22
which points to
https://gist.github.com/701444/93fde5e87e2fa591986b98b722de7ae24b469a69
I'm new to Pyramid and can't figure out how to do something which
seems like it should be quite a common requirement.
Basically, I want to write a script that will use the database models
but will not need to do HTTP requests. The idea is that I can run it
by cron or whatever.
The equivalent in