Skip to main content

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.

  1. Python readline history is now stored in git, by default under a repository named ~/.pyhist

  2. Multiple instances of the console will have their histories union-merged under the shared git repo. This means no more clobbering of readline history.

  3. 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.

  4. The fancy, colorized, full-stack exception traceback display may help you to analyze code issues.

  5. 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.

  6. 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.

  7. Tab completion that works within the local console frame.

Release files for xpy 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xpy 0.0.11
File Size Uploaded
xpy-0.0.11.tar.gz 21.8 kB Details

Release files / xpy-0.0.11.tar.gz

Download URL xpy-0.0.11.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6b589bb92092c0a020e47528aa09792928e30bff13c33cc1c0050df9c072ed28
BLAKE2b-256 checksum
How to use checksums
08c5da549819fe33c81be3aebc6d870722ad9a8da3b00e99cb9a69273ea1524b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.3

Release history Release notifications | RSS feed

This release

0.0.11 This release

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page