About Alex Clark

Python programmer

Hello Plone theming

In this post, we introduce a new tutorial aimed at bridging the gap between the incredibly easy to use and enormously powerful Diazo theming engine for Plone, and bootstrapping your first new theme. You do not need to have any Python skills whatsoever to perform these tasks.

New Plone themes are:

  • HTML/CSS/JavaScript/images (Sound familiar? You don’t need to know any Plone to understand this part.)
  • A set of rules that map your HTML/CSS/JavaScript/images to Plone content. (This part is Diazo-specific; and while Diazo is not part of Plone, integration is provided by a Python package called plone.app.theming.)

The Diazo rules can get complex, but it’s very easy to get your first rule done and working and then off you go. You may find this new tutorial on pythonpackages.com. Enjoy, and get busy theming Plone.

New Year’s Python Meme 2012

My response to http://tarekziade.wordpress.com/2011/12/20/new-years-python-meme-2/  (with gratuitous links to pythonpackages.com, my new project, sprinkled throughout).

It was fun answering in 2009, so I thought I’d play again.

What’s the coolest Python application, framework or library you have discovered in 2011?

Pyramid. In early 2011 I released vanity, which later became pythonpackages.com (more or less). I used building the site as an excuse to learn Pyramid, and it was well worth it.

What new programming technique did you learn in 2011?

I learned to not reinvent the wheel, and to collaborate with others on solving hard problems (which in and of itself is hard). Long story short, I took a little bit of heat within the Plone CMS community for creating a “one off” migration script:

I’ve since learned my lesson and have been collaborating meaningfully with Dylan Jay on the more widely-supported mr.migrator and friends.

What’s the name of the open source project you contributed to the most in 2011? What did you do?

I contributed to the Plone project quite a bit (as I have been doing for years now), but I also fell in love with Mozilla (and their mission) and began working on various things, including a virtual machine to help with the development of support.mozilla.com:

What was the Python blog or website you read the most in 2011?

Hacker news. I have the start-up bug.

What are the three top things you want to learn in 2012?

JavaScript, JavaScript, and JavaScript. I first heard the term 15 years ago and have been avoiding it ever since. Time to jump in.

What is the top software, application or library you wish someone would write in 2012?

I hope someone (me) writes a “secret” feature for pythonpackages.com and launches it in first quarter of 2012; and I hope folks find it useful.

 

 

 

Introducing pythonpackages.com

The website for Python egoists™

I have this overwhelming desire to know how many times my favorite Python packages have been downloaded. Don’t you? If so, look no further than pythonpackages.com:

Count downloads

Where you can enter a package like Django and find out:

Count favorites

Or click on Count favorites to reveal how many times it has been favorited:

Find trash

Or even poke some good natured fun at it, for its failure to provide adequate package metadata:

Discuss packages

You can even discuss packages on pythonpackages.com:

Recent activity

But wait there is more! You can also browse the latest changelog activity from PyPi right on the site:

Package info

Lastly, if you get bored counting package downloads and favorites you can look at the actual package metadata.

Conclusion

Sound interesting? Or utterly silly, perhaps? I think pythonpackages.com is the best of both. It started off as a front end to the command line utility vanity, but has taken on a life of it’s own.

After a small run on Python reddit and Hacker News, I’m looking forward to seeing what Python Planet folks think. So please check out pythonpackages.com and let me know. You can leave comments about the site here:

Or open a new ticket here: