1,060 items tagged “python”
The Python programming language.
2007
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.
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.
mimeparse.py (via) Parsing mime-types is harder than you might think.
supervisor2. I haven’t tried this yet, but looks like a decent process monitoring tool. It even has an XML-RPC interface.
Why doesn’t Python have more data format readers in the stdlib? I for one would love to see simplejson included in the standard library, with or without a C implementation.
Writing a Jokosher extension. I like the way API calls are made through an API object passed to the extension’s startup function.
2006
killableprocess.py. “I have created a python module which can launch a subprocess, wait for the process with a timeout, and kill that process and all of its sub-subprocesses correctly, on Windows, Mac, and Linux.”
The Daily Python-URL. Python’s number one news source, now powered by Django.
__builtins__ usage. Avoid using __builtins__ if you want your code to be compatible with IronPython.
Meta-classes Made Easy. Fuzzyman introduces a metaclass factory for applying a decorator to every method of a class.
Dependency injection is the enterprisey name for trampling over namespaces with reckless abandon.
[Python-3000] Refactoring tool available. Guido’s initial work on a tool for converting Python 2.x code to Python 3K.
Statement Functions. Smart workaround for the lack of multi-line lambdas in Python.
100% Python SCGI implementation. SCGI is like FastCGI but simpler.
python-cluster. Fantastic interface design—pass a list and a function and you’re done.
Incompatible SQLite in OS X and Python. I’ve hit this problem; James has the solution.
What I’m excited about, post-conference edition
Wow, I’ve had a really busy month. I’ve attended (and spoken at) BarCamp London, Media in Transition, d.Construct, RailsConf Europe, Euro Foo and EuroOSCON. All were excellent, and each one nicely complemented the others. I’m exhausted. I think my brain is full.
[... 377 words]The Screening Room #8: IronPython. Screamingly cool demo, with commentary from Jim Hugunin and Jon Udell.
The Screening Room #8: IronPython. Screamingly cool demo, with commentary from Jim Hugunin and Jon Udell.
HOWTO: Adding an RSS feed to a Subversion Server. Using post-commit hooks and some Python.
YDN Python Developer Center. Launched today: tips and tutorials on accessing Yahoo! Web services from Python.
The YDN Python Developer Center
I recently had the opportunity to put together the Python Developer Center for the Yahoo! Developer Network. YDN is one of my favourite parts of Yahoo! so I jumped at the chance, and the resulting mini-site is now online (YDN blog post here).
[... 235 words]Exciting stuff in Python 2.5
Python 2.5 alpha 1 is out, and as usual the What’s New in Python 2.5 document provides a pleasant overview of the new features. There are some real treats in there. While I’m hoping that the syntax for conditional expressions will grow on me, I’m looking forward to Partial function application becoming a common Python idiom. Relative imports are going to make Django applications a lot easier to redistribute, and I can’t wait to see all the crazy hacks that result from the introduction of coroutines.
[... 291 words]Backing Up Flickr Photos with Amazon S3. 25 lines of Python.
BitBucket—Experimenting with Amazon S3 Service in Python (via) Nice pythonic API.
2005
Python Creator Guido van Rossum now working at Google. Google are taking dynamic languages really seriously.
Things I learned at EuroOSCON
Last week was the first ever O’Reilly European Open Source Convention, held in the magnificent NH Grand Hotel Krasnapolsky in Amsterdam. It was the first big budget conference I’d been too (previously I’ve stuck to less expensive affairs such as SxSW Interactive and PyCon) but the money seems to have been well spent. The venue was fantastic and there was a great line-up of speakers, keynotes and panels.
[... 878 words]