“Python” Snippets
- Genshi code gen
-
23 April 2010
21:09 - as Python
- Genshi groupby recursion test
-
21 April 2010
21:45 - as Python
- Works for Genshi 0.5.x (latest). Max recursion in 0.6 (latest)
- Bitten Duplicate Deletion
-
16 September 2009
11:19 - as Python
- Cookie-based Session Storage for Django
-
28 May 2009
20:34 - as Python (5 comments)
- Here's a simple cookie-based session backend for Django. Session data is JSON encoded and GZIP compressed, and then signed with a MD5 hash based on a server-side secret key. To use this, the default Django session middleware needs to be replaced with the one in this module. The SESSION_ENGINE is henceforth ignored.
- Hello Goodbye Match 2
-
27 January 2009
17:13 - as Python
- Hello Goodbye Match
-
27 January 2009
17:06 - as Python
- Brian
-
20 November 2008
15:13 - as Python
- Example of using dynamically created properties in class body.
- example of programatic getters
-
20 November 2008
14:49 - as Python (1 comment)
- Simple Genshi static site generator
-
11 August 2008
13:58 - as Python
- Expects templates in a "pages" subdir, and static files (images etc) in a "resources" subdir
- programmatic generation of CouchDB views
-
5 August 2008
23:55 - as Python (4 comments)
- Some utility classes I'm experimenting with to auto-generate CouchDB views based on criteria.
- Babel number formatting performance test
-
18 July 2008
12:05 - as Python
- Keeping the Locale objects around helps quite a bit
- Pygments highlighter for Genshi
-
17 July 2008
10:12 - as Python
- Just testing
- Genshi server pages
-
15 July 2008
21:37 - as Python (2 comments)
- Serving “static” Genshi templates from mod_wsgi
- Genshi test case
-
15 July 2008
08:55 - as Python
- Genshi caching filter
-
7 July 2008
20:00 - as Python
- Possible genshi.filters.cache module
