Skip to main content

Curses txt reader

License: MPL 2.0 PyPI version

About

A simple(?) ncurses-based plain text reader written in python.

Instalation

From PyPI:

$ pip install curtxt-reader

From source:

$ git clone https://github.com/1256-bits/curses-txt-reader.git
$ cd curses-txt-reader
$ pip install .

Usage

Curses txt reader accepts text from both stdin via pipes

$ echo something | curtxt

and a (single) file

$ curtxt file.txt

When presented with both stdin and a file at the same time it will open the file. Curses txt reader does not accept multiple files. Use cat instead. Previously opened files will open on the same page they were left off

Controls:

  • Arrow Up/Down - page up and down
  • [page number]g - go to a page with specified number
  • Q - quit (Ctrl+C is also fine)
  • B - toggle progress bar
  • Home - got to the first page
  • End - go to the last page

Command line options:

-h, --help - pring help message and exit
-v, --version - print version number and exit
-c, --clear - clear history file

Release files for curtxt-reader 1.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for curtxt-reader 1.2.4
File Size Uploaded
curtxt-reader-1.2.4.tar.gz 17.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for curtxt-reader 1.2.4
File Interpreter ABI Platform
curtxt_reader-1.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 33.8 kB

Release files / curtxt-reader-1.2.4.tar.gz

Download URL curtxt-reader-1.2.4.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
001dc1d1364c2e255b323d08eba6ab096ea09c15fbbfe11a25e1a69e1da231e5
BLAKE2b-256 checksum
How to use checksums
5d3585c452b4c7d2fcd68e60666e9d19041038397260a071486d626efab36ab3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / curtxt_reader-1.2.4-py3-none-any.whl

Download URL curtxt_reader-1.2.4-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
308e539d8eacc59bef348cec9fc920974924465f9955ea25d64a9ed841acfa17
BLAKE2b-256 checksum
How to use checksums
bb4ba940712c152a912902b58eddfb8c32b417f1bf325c59cbc8b804d8ba9995
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

1.2.4 This release

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page