IPython extension for terminal markdown, kitty images, and richer output history
Project description
ipythonng
ipythonng is a small IPython extension for terminal sessions that adds:
text/markdownrendering with Richimage/pngrendering viakittytgp- matplotlib inline support
- Includes display objects, streams, and rich results in stored history
Install
pip install ipythonng
Use as an extension
Add the extension and enable output logging in your IPython config:
c.InteractiveShellApp.extensions = ["ipythonng"]
c.HistoryManager.db_log_output = True
c.InteractiveShellApp.exec_lines = ["%matplotlib inline"] # if you like
Or launch it ad hoc:
ipython --ext ipythonng
For matplotlib, %matplotlib inline works with the existing image/png renderer. No custom matplotlib backend is needed. Using exec_lines runs the magic after extensions load.
Convenience launcher
The package also installs an ipythonng command that simply starts IPython with
--ext ipythonng.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ipythonng-0.0.4.tar.gz.
File metadata
- Download URL: ipythonng-0.0.4.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d79c519e96b97c4300de32f4ab8eb213d88a59a11d61f3e3b0d0746e2af23da
|
|
| MD5 |
22f076ad32138e73f934faba61392bda
|
|
| BLAKE2b-256 |
3fcbe9f46044e25d2cf32ef3a3dad113388b6719cd1b0d407b37623b62514937
|
File details
Details for the file ipythonng-0.0.4-py3-none-any.whl.
File metadata
- Download URL: ipythonng-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06c6ee569529f8c63100d98bbfd0f8f503641840d4142ef6c353bc4dd8fd4e4c
|
|
| MD5 |
e2f46fcb355c62038766228b2655591b
|
|
| BLAKE2b-256 |
4dd89a1c78fd69713298c0819ea8f2814e63e3b3af2a87643021e80abf10d213
|