For those who don’t know what the headline means: Bunny is an open source command line utility written in Python that provides a shell for talking to and testing AMQP brokers (tested on RabbitMQ). AMQP is a queuing protocol. It’s defined as a binary wire-level protocol as well as a command set. The spec also…
Author: bkjones
Python Date Manipulation
This post is the result of some head-scratching and note taking I did for a reporting project I undertook recently. It’s not a complete rundown of Python date manipulation, but hopefully the post (and hopefully the comments) will help you and maybe me too 🙂 The head-scratching is related to the fact that there are…
Brain Fried Over NoSQL
So, I’m working on a pet project. It’s in stealth mode. Just kidding — I don’t believe in stealth mode 😉 It’s a twitter analytics dashboard that actually does useful things with the mountains of data available from the various Twitter APIs. I’m writing it in Python using Tornado. Here’s the first mockup I ever…
Why Open Shop In California?
DISCLAIMER: I live on the East Coast, so these are perceptions and opinions that I don’t put forth as facts. I’m more asking a question to start a dialog than professing knowledge. So, I just heard a report claiming that there are more IT jobs than techs to fill them in Southern California. Anyone who…
Python IDE Frustration
I didn’t think I was looking for a lot in an IDE. Turns out what I want is impossibly hard to find. In the past 6 months I’ve tried (or tried to try): Komodo Edit Eclipse w/ PyDev PyCharm (from the first EAP build to… yesterday) Wingware Textmate Wingware First, let’s get Wingware out of…
Per-machine Bash History
I do work on a lot of machines no matter what environment I’m working in, and a lot of the time each machine has a specific purpose. One thing that really annoys me when I work in an environment with NFS-mounted home directories is that if I log into a machine I haven’t used in…
Nose Hates Me
I easy_install’d nose on my iMac some time in the last month, and tried to use it with options for the first time today, and I’ve found that a good number of the ones shown in ‘nosetests –help’ are actually not recognized when I run nosetests. Meanwhile, running nosetests with no options still works fine….
PyTPMOTW: PsycoPG2
What is this module for? Interacting with a PostgreSQL database in Python. What is PostgreSQL? PostgreSQL is an open source relational database product. It has some more advanced features, like built-in networking-related and GIS-related datatypes, the ability to script stored functions in multiple languages (including Python), etc. If you have never heard of PostgreSQL, get…
PyTPMOTW: PyYAML
What’s This Module For? Reading and writing files formatted using “YAML Ain’t Markup Language”” (YAML), and converting YAML syntax into native Python objects and datatypes. What is YAML? According to the website which houses the YAML Specification: YAML™ (rhymes with “camel”) is a human-friendly, cross language, Unicode based data serialization language designed around the common…
Tornado’s Big Feature is Not ‘Async’
I’ve been working with the Tornado web server pretty much since its release by the Facebook people several months ago. If you’ve never heard of it, it’s a sort of hybrid Python web framework and web server. On the framework side of the equation, Tornado has almost nothing. It’s completely bare bones when compared to…