plover-debugging-console
A IPython debugging console for Plover.
See also:
plover-run-pyplugin for executing a Python command with a stroke, or from the command-line.
Usage
- Install the plugin.
- Enable the extension plugin in Plover.
- Run the command
plover-debugging-console-connect(orplover -s plover-debugging-console-connect) in a terminal.
The global variable engine is given. Other objects can be accessed from engine as public
or private members.
Alternatively, plover-debugging-console-connect qtconsole can be used to launch a console-style application using Qt.
See documentation of jupyter qtconsole for more details.
Or plover-debugging-console-execute can be used to execute a file non-interactively. See note below.
Known issues
Those errors can be fixed by installing the latest version of background_zmq_ipython manually on GitHub. Refer to
https://github.com/openstenoproject/plover/wiki/Manually-Installing-Plugins for instruction.
- https://github.com/albertz/background-zmq-ipython/issues/13
- https://github.com/user202729/plover-debugging-console/issues/1#issuecomment-1003654835
Note
-
Once started, the kernel is not stopped until Plover exits.
-
The session (kernel, global variables) are persistent, and shared between consoles.
However,
plover-debugging-console-execute <file>uses a separate environment, see documentation of%runIPython magic command. -
Any
printcommands are printed on Plover's console, not IPython's console. -
Error messages might be hidden (if
plover-debugging-console-executeis used), or displayed in a different console.To view the error messages, open an interactive console.
-
On some operating systems, the plugin may set
PAGERenvironment variable. (see issue #2 ofplover-run-shellrepository)
Implementation details
- The kernel can be connected to manually with
ipython console --existing <file>orjupyter console --existing <file>. - The IPython/Jupyter connection file path is stored in
connection_path_container, which isplover_debugging_console_pathin the temp folder in the current version. background_zmq_ipythonpackage is used, which requiresjupyter- Regarding
PAGER,GIT_PAGER,TERM,CLICOLORenvironment variables being set: Either- unset/reset them manually, or
- update to a sufficiently new version of package
background-zmq-ipython, at least commit 14d862848b7f5692412093642181718c29f57cad. (version currently not on PyPI)
- See https://stackoverflow.com/a/68769973/5267751 for the method used in
plover-debugging-console-execute.
Metadata
Release files for plover-debugging-console 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plover-debugging-console-0.2.5.tar.gz | 17.9 kB | Without provenance | Details for plover-debugging-console-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plover_debugging_console-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for plover_debugging_console-0.2.5-py3-none-any.whl |
Total release size: 35.4 kB
Release files / plover-debugging-console-0.2.5.tar.gz
| Download URL | plover-debugging-console-0.2.5.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
51059182389e49b1b3854a453961af959332b9287189ef457b4c05cd6dcbe7f2
|
|
BLAKE2b-256 checksum How to use checksums |
2c53c04a6a221772a022c4e7d9cc450a01c7cbabe58208ada002fa838c394403
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5
|
Release files / plover_debugging_console-0.2.5-py3-none-any.whl
| Download URL | plover_debugging_console-0.2.5-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8516eaa5adb0363cdbf695334fa5e8023a7610f45b4828c3413bd7f329985a20
|
|
BLAKE2b-256 checksum How to use checksums |
cdfa204ca818a3d5348a2d87e197dacaf974acf61c89cb604e33c509fcf3bbe3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5
|
Security for plover-debugging-console 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.