More or less a simple Curses Python paging library...
pip install cpager
usage: cpager [-h] input
More or less a pager
positional arguments:
input file or string
optional arguments:
-h, --help show this help message and exit
[h][LEFT] : Scroll left one character.
[l][RIGHT] : Scroll right one column.
[k][UP] : Scroll up one line.
[j][DOWN] : Scroll down one line.
[f][PGDN] : Scroll down a page of lines.
[b][PGUP] : Scroll up a page of lines.
[g][HOME] : Go to first page.
[G][END] : Go to last page.
[/] : Search via wildcards or regex.
[n] : Jump to next search result.
[p] : Jump to previous search result.
[r] : Reset search results.
[?][F1] : View this help page.
[w][CTRL-s] : Save contents to file.
[q][ESC] : Quit and exit.