Skip to main content

History manager extension for the standard Python shell and IPython

Project description

pyhstr

Inspired by hstr, pyhstr is a history suggest box that lets you quickly search, navigate, and manage your Python shell history. At this point, it supports the standard Python shell, IPython, and bpython. The plan is to support ptpython as well, but some help is needed for that to happen (see issue #7).

Installation

pip install pyhstr

Usage

The standard shell and bpython:

>>> from pyhstr import hh
>>> hh

IPython:

In [1]: import pyhstr
In [2]: %hh

Making an alias should be more convenient though, for example:

alias py='python3 -ic "from pyhstr import hh"'

Screencast

screenshot

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

pyhstr-0.1.4.tar.gz (198.3 kB view hashes)

Uploaded Source

Built Distribution

pyhstr-0.1.4-py3-none-any.whl (7.3 kB view hashes)

Uploaded Python 3

Supported by

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