Skip to main content

plover-debugging-console

A IPython debugging console for Plover.

See also:

Usage

  • Install the plugin.
  • Enable the extension plugin in Plover.
  • Run the command plover-debugging-console-connect (or plover -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.

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 %run IPython magic command.

  • Any print commands are printed on Plover's console, not IPython's console.

  • Error messages might be hidden (if plover-debugging-console-execute is used), or displayed in a different console.

    To view the error messages, open an interactive console.

  • On some operating systems, the plugin may set PAGER environment variable. (see issue #2 of plover-run-shell repository)

Implementation details

  • The kernel can be connected to manually with ipython console --existing <file> or jupyter console --existing <file>.
  • The IPython/Jupyter connection file path is stored in connection_path_container, which is plover_debugging_console_path in the temp folder in the current version.
  • background_zmq_ipython package is used, which requires jupyter
  • Regarding PAGER, GIT_PAGER, TERM, CLICOLOR environment variables being set: Either
  • 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)

Source distribution for plover-debugging-console 0.2.5
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)

Table of built distributions (wheels) for plover-debugging-console 0.2.5
File Interpreter ABI Platform Actions
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.

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