-
Archives
- July 2010
- January 2010
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- July 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
-
Meta
Category Archives: Python
Making Server-Side MongoDB Functions Less Awkward
I’ve recently switched my project at work to use MongoDB for the user database and a few other datasets. Currently I don’t use many JavaScript functions, but when I do I like to store them on the server so that … Continue reading
lxml vs. ElementTree
While lxml has some excellent benchmarks about the speed of lxml.etree vs. ElementTree, I wanted to run some tests that were as close as possible to my own use case (fairly simple multi-megabyte XML files). Here are the results of … Continue reading
Switched tc-rest to webob
Small update on my toy tc-rest project: I switched to using WebOb for creating HTTP Request and Response objects. Cleaned up the code a bit, but a real dispatcher is what’s needed to really remove the cruft. I’m anxious to … Continue reading
Posted in Open Source, Python, Technology
Tagged bitbucket, fapws3, Python, tc-rest, tokyo cabinet
2 Comments
TokyoCabinet + fapws3 = tc-rest
Have you ever wondered how hard it would be to tack a RESTful HTTP interface on top of a fast key/value database like TokyoCabinet? Probably not, but I did: tc-rest.tar.gz Components: TokyoCabinet – my favorite persistent key/value database pytc – … Continue reading
Posted in Open Source, Python, Technology
Tagged fapws3, Python, tc-rest, tokyo cabinet
Leave a comment
I Love Python: ZipFile Edition
For a client web project I needed to create a zip file containing a number of generated XML files. This isn’t something I need to do very often, so I briefly considered just writing the XML files to disk and … Continue reading