Simon Willison’s Weblog

Blogmarks tagged python in 2007

Filters: Type: blogmark × Year: 2007 × python ×


Sam Ruby: 2to3. Sam’s report on an attempt to port the Universal Feed Parser to Python 3.0. The 2to3 tool does most of the work, but it seems the unicode changes can be pretty tricky. # 3rd September 2007, 1:38 am

Django vs feedparser on dates. Some useful tips in the comments. I find Python’s timezone stuff endlessly frustrating: I know it can do what I want, but it always takes me a ridiculously long time to figure out the necessary incantations. # 2nd September 2007, 10:17 am

What’s New in Python 3.0. They’re definitely taking advantage of the break in backwards compatibility—lots of niggling inconsistencies are finally being cleaned up. # 1st September 2007, 1:41 am

Python 3.0a1 released. Wow, that was a pretty fast turnaround. Betas are planned for 2008, with a final release scheduled for August. # 31st August 2007, 8:36 pm

Satchmo 0.5 Release. Django powered e-commerce application, “the webshop for perfectionists with deadlines”. # 22nd August 2007, 10:36 pm

The Shrinking Python Web Framework World. Python used to suffer from a paradox of choice with regards to Web frameworks; today things are considerably easier for new developers. # 22nd August 2007, 10:06 pm

BabelDjango. Tools for integrating Christopher Lenz’s Babel i18n framework with Django. # 20th August 2007, 2:59 pm

Django on the iPhone. Jacob got it working. The next image in his photostream shows the Django admin application querying his phone’s local database of calls. # 19th August 2007, 7:58 am

The Python docs have been redesigned for 2.6. They’re beautiful. The docs for a module are on a single page now (rather than splitting over multiple pages), they’ve added unobtrusive permalinks to individual sections and the whole thing is built on ReST rather than LaTeX. # 18th August 2007, 12:39 pm

Changeset 5925. You can now register custom commands for your application with Django’s manage.py script. More sensible than littering your application’s root directory with shell scripts. # 18th August 2007, 11:06 am

DictMixin. I wasn’t aware of this Python class (part of the UserDict module): lets you implement __get__, __set__, __del__ and keys() and provides the other dictionary methods for you. # 17th August 2007, 10:34 am

AuditTrail. Add change tracking and history to a Django model with a single line of code. Doesn’t handle relationships though, which is definitely the toughest part of this problem. # 15th August 2007, 1 pm

Finding Lookup Items that Are Not Used. How to do left outer joins (and other custom SQL) using the Django ORM. # 13th August 2007, 5:08 pm

Ubuntu -- python-django. Sweet, Django 0.96 is packaged for Ubuntu Gutsy. # 11th August 2007, 8:47 am

Atom Models. Building Python classes that act as utility wrappers around data stored in an lxml DOM object. # 7th August 2007, 4:02 pm

A nice example of when to use reduce in python. As a shortcut for assembling a large OR query using the Django ORM. # 2nd August 2007, 11:51 pm

Cabochon event server. Written in Python (on top of SQLObject and Paste), uses JSON for messages, allows event consumers to subscribe with a callback URL. # 2nd August 2007, 8:36 am

stomp.py. A Python client library for accessing ActiveMQ using the STOMP protocol. Pleasantly simple API for both sending and accepting messages. # 1st August 2007, 1:50 pm

Django, iCal and vObject. Easy iCal generation for Django using vObject. # 1st August 2007, 11:09 am

Thread Synchronization Mechanisms in Python. Locks, RLocks, Semaphores, Events and Conditions as explained by Fredrik Lundh. # 29th July 2007, 9:32 pm

mod_wsgi 1.0 Release Candiate Available. mod_wsgi is shaping up to be an excellent alternative to mod_python. # 26th July 2007, 8:21 pm

Mozilla and IronPython: IronMonkey. Interesting to note that all three new Mozilla projects are being lead by experienced Python developers. # 26th July 2007, 8:07 pm

Instant Django. Portable Django environment for Windows, no installation required. Can also be run from a USB thumb drive. # 24th July 2007, 6:49 pm

Django Master Class. Notes and slides from the OSCON tutorial I gave yesterday with Jacob Kaplan-Moss and Jeremy Dunck. # 24th July 2007, 3:20 pm

Undelete in Django. Inspired by the conversation about undo the other day, Nathan Ostgard created a simple solution based around custom managers and a trashed_at model field. # 20th July 2007, 6:54 pm

Announcing Babel. Impressive new Python i18n / l10n package, with improved message extraction and a huge amount of bundled locale data. # 20th July 2007, 12:20 pm

Logic in Templates. I don’t think it would hurt Django to have a bit more support for conditional logic in templates, but I wouldn’t go as far as supporting the ability to call Python functions directly. # 19th July 2007, 8:35 am

ThingDB. Another extensible key/value pair data store, constructed for the Open Library based on Aaron Swartz’s Infogami technology. # 17th July 2007, 10:21 am

Python Tuples are Not Just Constant Lists. “The index in a tuple has an implied semantic”. # 17th July 2007, 7:53 am

lwqueue. Lightweight cross-language message queue system, written in Perl with client libraries in Perl, Python and Ruby. # 16th July 2007, 10:04 am