Sponsorised links
Today
Python, Unicode and UnicodeDecodeError
12 November 2009
How to Make a US County Thematic Map Using Free Tools | FlowingData
yeah!make a choropleth map. You know, the maps that color regions by some metric. … In this post, I'll show you how to make a county-specific choropleth map using only free tools.
Samovar
Sponsorised links
08 November 2009
image-tempest - Project Hosting on Google Code
The goal of Tempest is to provide a consistent, reliable, multi-language API for generating heat-map images based on coordinate data-sets.
07 November 2009
pyquery: a jquery-like library for python — pyquery v0.3 documentation
pyquery allows you to make jquery queries on xml documents. The API is as much as possible the similar to jquery. pyquery uses lxml for fast xml and html manipulation.
03 November 2009
MichaelMoore.com | Concentric Sky
With such a large amount of content, searchability was essential. For this we built a custom technology stack based on Solr, Lucene and Haystack. Then, to keep all the previous links pointing in the right direction, we created a customizable scheme of Django regular expressions and Apache mod_rewrites.
02 November 2009
sunlightlabs's django-layar at master - GitHub
helper for publishing data to Layar augmented reality browser from Django edit
31 October 2009
30 October 2009
25 October 2009
getElementsBySelector - CSS Query Selector for HTML DOM < Scripts < Python < Bin-Co
getElementsBySelector is a python function which takes a standard CSS style selector and returns an array of elements objects from the document that match that selector. This is a frequently used function in JavaScript - if you use a library. Its kind of meaning less to have this function in the server side - unless you are doing screen-scarping. Then its very useful. Recently, I had to work on a Django app that does a bit of screen-scrapping - so I created this function to aid me.
python-djvulibre — Jakub Wilk's software
python-djvulibre is a set of Python bindings for the DjVuLibre library, an open source implementation of DjVu.
Python Package Index : pydermonkey 0.0.6
Access the SpiderMonkey JavaScript engine from Python
Coming At You Like A Pydermonkey at Toolness
Pydermonkey’s mission is pretty simple and straightforward: it’s just meant to wrap Spidermonkey’s C API as faithfully as possible—including its debugging API—while enforcing the memory safety that Python is known for. This makes it awfully low-level for casual programmers, but thanks to Python’s awesome support for magic methods, it’s not hard to create high-level wrappers that provide much more convenient bridging between JavaScript and Python code.
22 October 2009
20 October 2009
Ressources Python
19 October 2009
pyglet
Rails vs Grails vs Django models - Peter Krantz
in Rails, parts of the model design is actually stored in the database schema instead of in the Ruby code. I have started adding comments in the Rails model classes to be able to remember what properties they have without peeking in the Db. Typically I have a number of half-baked projects on my laptop and from time to time I forget what they do and these comments help me remember.
18 October 2009
IMAPClient
IMAPClient aims to be a easy-to-use, Pythonic and complete IMAP client library with no dependencies outside the Python standard library.
johnpaulett.com / Getting RESTful with web.py
Django may be the Python web framework getting all the press recently, but web.py is definitely a nice, simple framework. One of the nice aspects of web.py is that it exposes methods for the basic HTTP methods (GET, POST, PUT, DELETE, etc.) and uses these methods to process each request from the client. This approach makes it amazingly easy to write a RESTful API.
Corey Goldberg: Selenium RC with Python in 30 Seconds
Selenium is a suite of tools to automate web app testing across many platforms. It has various pieces (Core, RC, IDE, etc), and I struggled trying to figure out how everything fits together and works. At the end of the day, all I wanted to do was use Selenium from my Python code to drive a browser session.
My first Twitter app - KungFuPeople.com - Peterbe.com (Peter Bengtsson on Python, Zope, Kung Fu, London and photos)
I simply took the oauth.py module by Leah Culver and wrapped it with some useful functions taken from a similar Twitter app we've done at work.
yml / fabric_factory / overview — bitbucket.org
This project aims to provide an easy to setup continuous integration server and client. The server side infrastructure is built on top of django. The tasks are described using fabric.
