Simon Willison’s Weblog

Subscribe

864 items tagged “python”

2007

cmemcache. Python extension for libmemcache which provides more than twice the performance of the pure-Python memcached client. Supported by Django development version. # 27th March 2007, 1:51 pm

The Athena Framework. CERN’s ATLAS particle accelerator experiment is scriptable with Python. # 26th March 2007, 2:43 pm

Free Software Foundation to switch to Django. “FSF is switching from Zope to Django (both Python powered!) for web application development... Lots of new stuff coming soon, including contributions back to the Django community.” # 25th March 2007, 7:56 pm

Python web development and frameworks in 2007. A fair and detailed look at the current main options for web development with Python. # 25th March 2007, 5:30 pm

TweetyPy. A Python-based CLI client for Twitter, by Stuart Colville # 24th March 2007, 4:47 pm

Algorithm Education in Python (via) A paper describing the usage of Python in Algorithm courses at UC Irvine. I found Python invaluable when I was at university and would have loved to see it become part of the official curriculum. # 19th March 2007, 1:46 pm

pg8000 v1.02. The pure Python PostgreSQL library now supports DB-API 2.0 (and SSL too). That didn’t take long! # 13th March 2007, 9:18 pm

pg8000 (via) A pure-Python interface to PostgreSQL, using the PostgreSQL network protocol directly. Doesn’t (yet) support DB-API 2.0, but that’s promised in a future release. # 9th March 2007, 7:35 pm

Hacking del.icio.us with Python. Nat introduces snaflr, a Python script for republishing selected links from a number of del.icio.us users to one communal account. # 6th March 2007, 11:11 pm

Five things I hate about Python. By Jacob Kaplan-Moss. I didn’t know you could force eggs to install unzipped with an option in ~/.pydistutils.cfg—that’s always been my least favourite thing about them. # 4th March 2007, 10:32 pm

pear 0.8. “A libevent/pyevent-based locking session daemon for the web”. Relational databases aren’t particularly well suited to the access characteristics of session data. # 4th March 2007, 9:19 pm

Scaling Python for High-Load Web Sites. Slides from a talk at PyCon. Be sure to switch to the notes view (Ø in the bottom right)—a really nice overview of scaling up from a CGIs to load balanced, memcached Python application servers. # 4th March 2007, 9:14 pm

soupselect. My simple extension to BeautifulSoup that allows you to grab elements using CSS selectors; should be useful for parsing microformats. # 28th February 2007, 1:47 pm

Django snippets. James Bennett’s new site for Django snippets. The source code to the whole site is available. # 26th February 2007, 10:08 am

PyCon Day 1: OLPC Has Excited me. Did you know that the OLPC machines have a “show source” button? # 23rd February 2007, 11:21 pm

30 second PyPy tutorial. Zyroth on programming.reddit.com shows how to interactively compile a Python function to C using PyPy and benchmark it against the original. # 18th February 2007, 9:30 pm

Automated Translation of Java to Python. java2python can translate most Java code in to non-idiomatic Python, using ANTLR for the heavy lifting. # 15th February 2007, 3:50 pm

Say Hello to Elixir for SQLAlchemy. New ActiveRecord style layer over SQLAlchemy; a collaboration that includes the authors of ActiveMapper and TurboEntity. # 12th February 2007, 10:28 pm

soaplib (via) New open-source Python SOAP library, with a pleasantly Pythonic looking API. # 12th February 2007, 10:26 pm

boto. Python library for accessing Amazon’s S3, SQS and EC2 Web Services, with excellent documentation. # 11th February 2007, 12:17 am

Parallel Python. A simple mechanism for running Python code in parallel across multiple processes and/or machines, based on submitting jobs and retrieving their results. # 9th February 2007, 1:51 am

Mono 1.2.3 has been released (via) More importantly, it ships with IronPython in the form of Seo Sanghyeon’s Community Edition. # 9th February 2007, 12:55 am

TurboGears and Pylons (a technical comparison). Ian Bicking explores the differences between the two, and finds that the most significant is probably CherryPy v.s. Paste. # 7th February 2007, 1:51 pm

IronPython URLs. Mark Rees’ and Seo Sanghyeon’s collection of interesting URLs posted to the IronPython mailing list. # 4th February 2007, 5:25 pm

nose. Really nice Python unit testing tool—run ’nosetests somedir’ and it finds and executes every unittest (and test_like function) it can find in that directory tree. # 1st February 2007, 2:20 am

Spelling correction using the Python Natural Language Toolkit. Uses porter stemming to implement a search engine ’did you mean’ feature based on the Brown Corpus. # 31st January 2007, 10:07 pm

Pickles Begone. Barry Warsaw’s notes on adding SQLAlchemy persistence to Mailman. # 23rd January 2007, 1:43 pm

CSS library for Python (via) “A Python package to parse and build CSS Cascading Style Sheets. Partly implements the DOM Level 2 Style Stylesheets and CSS interfaces.” # 15th January 2007, 2:32 am

Apache Solr 1.1. Solr is the search Web Service built on top of Lucene. The latest release introduces JSON, Python and Ruby response formats in addition to XML. # 13th January 2007, 1:16 am

What Python looks like naked. Michal Wallace has been doing some really interesting work writing purely functional code in Python. His latest experiment replaces all of the basic Python statements with equivalent functions. # 10th January 2007, 11:22 pm