It's like Python but now with more "x"
This is an “eXtended” Python console, which really just means a Python console done just the way that I like it. Primarily, this means enhanced readline history support, and X clipboard utilities.
Python readline history is now stored in git, by default under a repository named ~/.pyhist
Multiple instances of the console will have their histories union-merged under the shared git repo. This means no more clobbering of readline history.
X Clipboard helper called Clip, e.g., Clip.run(), Clip.read_to_history(), Clip.write_from_history(), etc. are available and made visible to the xpy console.
The fancy, colorized, full-stack exception traceback display may help you to analyze code issues.
The xpy console can be inserted into code using
import xpy; xpy.xpy_start_console()
This will break into an interactive console local to the current frame. It is not a debugger, but it is an ordinary interactive Python console. Any code runs within the scope of the frame where the command is run.
Script commands include xpy (autogenerated, slower startup), xpy2, and xpy3 for starting an interactive console. It can also be started with python -m xpy or python3 -m xpy. The console is exited with Ctrl-D.
Tab completion that works within the local console frame.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size xpy-0.0.9.tar.gz (14.3 kB)||File type Source||Python version None||Upload date||Hashes View hashes|