Jupyter Qt Console Documentation

Jupyter Qt Console Documentation

Release 5.5.0 Jupyter Development Team

May 14, 2023

CONTENTS

1 Installation

3

1.1 Install using conda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.2 Install using pip . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.3 Installing Qt (if needed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Configuration options

5

2.1 Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

3 Changes in Jupyter Qt console

27

3.1 5.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

3.2 5.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

3.3 5.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

3.4 5.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

3.5 5.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

3.6 4.7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

3.7 4.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

3.8 4.5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

3.9 4.4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

3.10 4.3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

3.11 4.2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

3.12 4.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

3.13 4.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

4 Overview

39

5 Inline graphics

41

6 Saving and Printing

43

7 Colors and Highlighting

45

8 Fonts

47

9 Process Management

49

9.1 Multiple Consoles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

9.2 Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

9.3 SSH Tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

9.4 Manual SSH tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

9.5 Stopping Kernels and Consoles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

10 Qt and the REPL

53

i

10.1 Embedding the QtConsole in a Qt application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

11 Regressions

55

ii

Release 5.5.0

Date May 14, 2023

To start the Qt console:

$ jupyter qtconsole

Jupyter Qt Console Documentation, Release 5.5.0

CONTENTS

1

Jupyter Qt Console Documentation, Release 5.5.0

2

CONTENTS

CHAPTER

ONE

INSTALLATION

The Qt console requires Qt, such as PyQt6, PySide6, PyQt5, PySide2. Although pip and conda may be used to install the Qt console, conda is simpler to use since it automatically installs PyQt.

1.1 Install using conda

To install: conda install qtconsole

Note: If the Qt console is installed using conda, it will automatically install the Qt requirement as well.

1.2 Install using pip

To install: pip install qtconsole

1.3 Installing Qt (if needed)

We recommend installing PyQt with conda: conda install pyqt or with pip: pip install PyQt5 For example with Linux Debian's system package manager, use: sudo apt-get install python3-pyqt5 # PyQt5 on Python 3 See also:

3

Jupyter Qt Console Documentation, Release 5.5.0

Installing Jupyter _ The Qt console is part of the Jupyter ecosystem.

4

Chapter 1. Installation

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download