- ARCHIVE / TAG ARCHIVE
- Installing PIL on Djangostack 1.1.1/1.2/1.3
The popular Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats and provides powerful image processing and graphics capabilities. I normally use Bitnami Djangostack for most of my Django development, which doesn’t come with PIL installed by default so in this post I’m summing up what […]
- Python links (and more) 7/2/11
This post contains just a collection of various interesting things I ran into in the last couple of weeks… they’re organized into three categories: pythonic links, events and conferences, and new online tools. Hope you’ll find something of interest! Pythonic stuff: Epidoc Epydoc is a handy tool for generating API documentation for Python modules, based […]
- Setting up Django Registration
Django’s admin framework includes the basic functionalities for logging in and out of the admin site, but if you’re building a so-called ‘social’ application and want people to be able to sign-up, log in and thus benefit from additional site functionalities then you need to use a more generic ‘registration’ application. The good news is: […]
- Python debugging and Textmate
I’ve never realized that among the many things Textmate does well there’s also python debugging. Well, to be precise Textmate doesn’t do much as it just relies on python’s default debugger, called PDB. Ok, probably PDB isn’t the cutting edge debugger you’re looking for, but it’s worth a try imho. Nothing to install in order […]
- Getting back to the ontological work..
I’ll be working in Osaka for three months on ontologizing a couple of datasets with the help of Riichiro Mizoguchi. This means that I’ll have enough time to revise various notions about ontology engineering during this period. Here’s a first and fundamental one, regarding the difference between ontologies and data models: The difference between ontologies […]
- Pyglet: multimedia library for python
UPDATE 30/03/1: Just realized that unfortunately pyglet doesn’t play well with the latest 64bit architecture of oSX. A real shame, as this obviously breaks Pyglet’s famed run-anywhere feature. There are reasons to think that the next version will fix this problem (check out this thread for more info).. but for the moment, I guess that […]
- Yolk : Python packages index
Yolk is a Python tool for obtaining information about packages installed by distutils, setuptools and easy_install and querying packages on PyPI (Python Package Index a.k.a. The Cheese Shop). Yolk can list all the packages installed by distutils or setuptools on your system by >=Python2.5 or packages installed by setuptools if you have <=Python2.4. You can […]
- Installing PyGraphviz [tested on OSx Leopard]
PyGraphviz is a Python interface to the Graphviz graph layout and visualization package. With PyGraphviz you can create, edit, read, write, and draw graphs using Python to access the Graphviz graph data structure and layout algorithms. [I was doing this in order to benefit from some of the django-command-extension functionalities] 1. Get graphviz here and […]
- MySQL-Python and Apple OSX 10.5 (Leopard)
UPDATE 30/12/09 : Snow Leopard and most recent versions of MySQL-python have broken the recipe below: you’d better check this blog post for an updated version (it worked for me). In a nutshell, the new method involves using the Macports installation if you’re on Leopard, or specifying your 64-bit architecture during the compile process if […]
- Python web-parsing libraries
While continuing the interminable search for the ideal python editor, I run into three really useful libraries for scraping information off webpages: mechanize: Stateful programmatic web browsing in Python, after Andy Lester’s Perl module WWW::Mechanize scrape: Python module for web browsing and scraping BeautifulSoup: a Python HTML/XML parser designed for quick turnaround projects like screen-scraping I had a quick play with the […]