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
Release history Release notifications | RSS feed
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
File details
Details for the file histopy-0.6.2.tar.gz
.
File metadata
- Download URL: histopy-0.6.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/25.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b582fc5c4eaed5682f271c00e596569a86a92d393c82b4c173471cc6b60789a |
|
MD5 | 3d8970940f3862084b53b8d32a38c973 |
|
BLAKE2b-256 | c08939c311d49480cc00b74cd3d5b01aee847c9fb3edf74b795ce86999b6cb05 |
File details
Details for the file histopy-0.6.2-py3-none-any.whl
.
File metadata
- Download URL: histopy-0.6.2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/25.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b502644df0956bc039289ab928ae86554a5051b3051e65d84420aa60682ab47a |
|
MD5 | 7042ea9970a8010ab7cea1c3c9b10cf2 |
|
BLAKE2b-256 | 64b77bc469778fe3e2563e68b06c79b452e2c4c963ded3140ce1e78a7bf3aa8c |