Skip to main content

Bash-style history for Python interactive interpreter

Project description

# Histopy

BASH-style history for the Python3 interactive interpreter.

Daniel W. Paley, 2018. Contact: dwpaley@gmail.com Github: https://github.com/dwpaley/histopy

Quickstart: ` >>> import histopy as hp >>> hp.history_full()     # like $ history >>> hp.history()          # history of current session >>> hp.recall(n)          # like $ !n >>> hp.find('foo')        # print lines matching 'foo' `

Known issues: * recall_range(n1, n2) doesn’t attempt to handle any exceptions. Would be nice to prompt e.g. “recall_range stopped with exception … on line … Continue on line …?”

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
histopy-0.6.2-py3-none-any.whl (5.5 kB) Copy SHA256 hash SHA256 Wheel py3 Aug 25, 2018
histopy-0.6.2.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None Aug 25, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page