“NumPy” Snippets

Bitten Duplicate Deletion
16 September 2009
11:19
By cmlenz as NumPy
Cookie-based Session Storage for Django
28 May 2009
20:34
By cmlenz as NumPy (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
By cmlenz as NumPy
Hello Goodbye Match
27 January 2009
17:06
By cmlenz as NumPy
Brian
20 November 2008
15:13
By brian as NumPy
Example of using dynamically created properties in class body.
example of programatic getters
20 November 2008
14:49
By brian as NumPy (1 comment)
Simple Genshi static site generator
11 August 2008
13:58
By cmlenz as NumPy
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
By Matt Good as NumPy (1 comment)
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
By cmlenz as NumPy
Keeping the Locale objects around helps quite a bit
Pygments highlighter for Genshi
17 July 2008
10:12
By cmlenz as NumPy
Just testing
Genshi server pages
15 July 2008
21:37
By cmlenz as NumPy (2 comments)
Serving “static” Genshi templates from mod_wsgi
Genshi test case
15 July 2008
08:55
By cmlenz as NumPy
Genshi caching filter
7 July 2008
20:00
By cmlenz as NumPy
Possible genshi.filters.cache module
PythonDoc Trac macro
27 June 2008
13:42
By cmlenz as NumPy
Trac macro that pulls a Python file from the repository, and uses compiler.ast to pull out API information
plural_to_python
10 June 2008
22:51
By cmlenz as NumPy