Monthly Archives: June 2010

the Google Command Line Tool

Google just announced, GoogleCL a command-line utility that provides access to various Google services. GoogleCL is a pure Python application that uses the Python gdata libraries to make Google Data API calls from the command line.  It streamlines tasks such as posting to a Blogger blog, adding events to Calendar, or editing documents on Google Docs.

For example:

$ google blogger post --blog "My blog" --tags "python, googlecl, development" my_post.html
$ google calendar add "Lunch with Jason tomorrow at noon"
$ google docs edit --title "Shopping list" --editor vim

Read more at the GoogleCL project page, or jump right to the examples.

I think this is cool, because I just started reading up on the gdata-python-services to interactively retrieve information from a google docs spreadsheet.

June 21, 2010

We had a good discussion on ways to build web applications using Python.  Most of the talk was on how django handles different aspects, but also included cherrypy, turbogears, mod_wsgi, and google closure tools.

The Python Package Index, PyPI, which now has 10,290 packages was lauded a bit, along with the easy_install method of adding packages with dependancies easily. Virtualenv was also mentioned as a way to build isolated Python environments on one machine.

The question: How to distribute Python programs? was brought up, and py2exe was mentioned, but none of the attendees had much else to say. Please comment if you have another idea.

Chad has found some programs that let you use Ubuntu to program your Harmony remote, and is considering building a gui in Python for them.

Other related and interesting items were also mentioned:

A passing reference to Johnny Drop Table.
– a bookmark, password, and open tab synchronizer
, sqlite and the Firefox sqlite manager
google voice
and reQuall– ways to help use your phone to automatically record messages and appointments