Skip to main content

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/markdown rendering with Rich
  • image/png rendering via kittytgp
  • 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

ipythonng-0.0.2.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipythonng-0.0.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file ipythonng-0.0.2.tar.gz.

File metadata

  • Download URL: ipythonng-0.0.2.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for ipythonng-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4536b17b4798bf996d27b3cdc82daaa67a38a66ca2bf976b1215666564162e6d
MD5 33efff765c04d2a0b1f664d31696f125
BLAKE2b-256 040dff7f945dddd16a8a53e8830b6d8824cb635a52afeb5d5d1fd2d6c493993d

See more details on using hashes here.

File details

Details for the file ipythonng-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: ipythonng-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for ipythonng-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 11c5f9a5e870453e5d5e7e7f442aea9d74c465a78700fd6c7d847c37c32aeed8
MD5 7b0ec4d9dafe7e13a7af6b19b338e453
BLAKE2b-256 4aab20e337fabf900d243bd1fd8bd339e5a74565c6e4353350b5041b7f67445e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page