Monday, October 11, 2010

PYPI mirror

The other day I was trying to deploy some Python software, but ran in to trouble with the package dependencies.  PYPI was down and so the packages could not be fetched!

After a quick search I found what suspiciously looked like a PYPI mirror at http://b.pypi.python.org/

Pointing easy_install at this mirror gave me the result I needed.

easy_install -i http://b.pypi.python.org/simple/ -U setuptools

I don't know if the mirror is common knowledge, but this is a handy option to remember.

Wednesday, November 25, 2009

PSI 0.3b2 Released

A new version of Python System Information (PSI) has been released: 0.3b2

Big thanks to Floris Bruynooghe for doing all the heavy lifting on this one.  Floris describes the changes on his blog.

Wednesday, September 30, 2009

BlastOff 0.2 released


BlastOff 0.2 has now been released.  BlastOff is a quickstart template for Pylons. It is a substitute for the simple boilerplate template that Pylons provides out-of-the-box.  Use BlastOff to generate a Pylons skeleton configured with SQLAlchemy, mako, repoze.who, ToscaWidgets, TurboMail, WebFlash and (optionally) SchemaBot. The generated app is pre-configured with authentication, login and registration forms, and (optionally) email confirmation.

The great thing about Pylons is that it provides a basic web framework stack that assumes very little about what you want to do.  The default application template contains no authentication, for example.  It is up to the user to choose an authentication middleware that best fits their needs.  Unfortunately, for newbies, it may not be obvious which middleware to choose.  Pre-configured templates like BlastOff can help users get started with the author's recommended choices of middleware components and configuration.  BlastOff contains my own choice of best-of-breed components that I use in my own Pylons applications.

Not every template will be best for every developer, so I encourage others to create Pylons template packages.  A few others already exist, I found out recently, so I created a Pylons Project Templates page in the Pylons wiki to list them.  Take a look if you want to see how others are configuring their Pylons apps or just want to accelerate your Pylons development.

Cheers,
Chris Miles

Image by lecates @ flickr / CC BY-NC 2.0

Monday, September 28, 2009

New Python specific blog

I have started a new Python specific blog at http://chris-miles-writes-python.blogspot.com/

You can find older blog posts from me at http://chrismiles.livejournal.com/ which I am winding down in favour of Blogger.

Cheers,
Chris Miles