Wednesday, March 03, 2010

cmd2 0.6.1

Many thanks to the audience at my PyCon cmd/cmd2 talk for your interest and enthusiasm! It was my first full-scale PyCon presentation and I absolutely loved it.

I need to follow up on three things I claimed in my talk:

1. "My presentation is already online at http://pypi.python.org/pypi/cmd2". FALSE (at the time I said it, and for several days afterward). I actually had posted the docs and edited the PyPI page to point to them, but forgot to update url in setup.py, so it overwrote the link when I registered cmd2's 0.6.0 release.

It's fixed now, though. The cmd2 PyPI page has a link to the cmd2 documentation, which in turn links to my talk slides. You can also watch the talk thanks to the fantastic PyCon video crew!

2. "A more stable version will be out within a couple weeks of PyCon." TRUE. 0.6.1 is not exactly stable stable, but I think I've smoothed out bugs that snuck in while I was pushing to release 0.6.0 for PyCon.

3. "sqlpython will be more presentable in a couple weeks, too." TRUE. The new sqlpython 1.7.1 brings the postgreSQL functionality (thanks Andy!) to pretty near 100% (except for the can't-see-other's-schemas problem, which should be fixed for 1.7.2.) I believe that MySQL should be fully functional, too, but that's very lightly tested because I barely use MySQL and don't know much about how to test it.

3 comments:

neurino said...

And what about using ipython instead of python (if available) for interactive session?
I'm used with paster shell and ipython facilities are overwhelming.

Sorry if I bother you here but there's no mention to mailing lists / gropus anywhere.

Cheers from Italy, I loved your presentation video ^^

Catherine said...

Whoah... I have no idea how you'd even start integrating ipython. The interactive session depends on InteractiveInterpreter from the standard library's "code" module; does ipython have something closely analogous?

shi said...

Thanks for creating cmd2. Reading about cmd2 caused my imagination to go wild :) Here's an idea to create cmd3:

extend cmd2 with an aiml front-end (e.g. PyAIML) which would allow defining a natural language interface to drive CLI applications.

By also integrating it with speech recognition (e.g. pyspeech), it could result in a generic speech controlled CLI application library.

And of course there's speech synthesis (e.g. gtexttospeech) to let your console app speak back to you.

By combining pexpect, gtexttospeech and pyvnc2swf you could also make a screencast compiler: turns a set of CLI commands and user inserted "comments" into a audio-visual screencast of a command line application.

So many ideas, so little time :)