Quasi is Yet Another Python Shell, but with a twist. It supports pluggable "contexts" for non-Python commands, such as OS commands, MySQLdb queries and external programs. At last you can write:for x in `os ls *.py`: `os cp $x my_backups`
Be the first to post a text review of Quasi Python Shell. Rate and review a project by clicking thumbs up or thumbs down in the right column.
This is the full changelog, taken from the comments in the source that were the log until now. #Changelog (from version 0.1) #BJL, 20/07/04, Added Bag class (and souped it up to preserve order in entries) #BJL, 20/07/04, Converted SQL context to use lists of bags for results, and set bags to represent themselves #pretty much as rows did before. Use of a list allows code to remove rows at runtime (before, it was a damn #tuple, so you needed to map() or use a list comprehension.) #BJL, 20/07/04, Fixed SQL describe to use a separate cursor for getting table descriptions so that the #description of the last executed statement is preserved. #BJL, 20/07/04, Added "cursor" command to SQL context so really clever peeps can get a real cursor and work #with it directly. #BJL (from _Mark_), 20/07/04 - fixed bad handling of popen3 in QuasiOS.execute, also outdented the code that #strips trailing newlines from output. #BJL, 21/07/04 - added lots of help and an expandable multi-level help system that uses doc strings and help #methods on contexts. #BJL, 21/07/04 - added the commas(), quoted() and dquoted() helper functions to make list expansions easier. #BJL, 21/07/04 - added the "explain" keyword, and explaining on any context marked with a "?" (`?os ls`). #BJL, 21/07/04 - added the "trace" setting to do tracing of commands as they're executed (like a running #explanation). #BJL, 21/07/04 - LOTS of refactoring - moved the parseline stuff into a separate class (with a QuasiElement #class to hold the elements as they're parsed) and made it work on characters not lines at a time. #BJL, 22/07/04 - Added the CD, LS, PWD and DIR commands using builtin context. #BJL, 23/07/04 - Added much careful code to support DOS/Windows backslashes & refactored escape-handling. #BJL, 24/07/04 - Added intelligent handling of $ident forms of varsub, such as quoting names with spaces, #for the OS, SQL and builtin contexts. #BJL, 24/07/04 - Added "source" command and changed tests to use it; added --test arg for convenience. #BJL, 27-28/07/04 - kbond's bugfixes and a certain amount of refactoring to use an alternative readline, #plus a whole load more tests using active SQL queries (which have to remain private since they include #login details for one of my servers).
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?