Termial text file viewer
Project description
text-file-reader
Exactly what it sounds like.
This is not meant for practical use. It began as a hackathon submission, but I missed the deadline, so now I'm finishing it to be happy. The theme of the hackathon was "Overengineered UI", so it's not meant to be easy to use.
Installation
Install with Git
git clone https://github.com/stcejorPmodnar/ph-hackathon-2019
Install with pip
Coming soon
Usage
Startup
As of right now, it's just
python[3] file-reader.py file.txt
With file.txt
being the file you want to read.
You can include the flag -h
if you want to see the helpscreen.
Interface
Press ^e at any time to quit.
^t - find in file
^b - compile file in your choice of various languages.
Use the arrow keys to move your cursor. If you attempt to move it off the screen, the file contents will scroll accordingly.
You will get an error if your terminal window is too small to display any of the text.
Contribute
Though I wouldn't mind any pull requests, wait for the first stable release to contribute.
Requirements
Because of the compile option, this likely won't work on windows, so I won't even bother to add stuff about installing windows-curses to the setup.py.
It should in theory work on linux or any of its distros, but I doubt it since I have little experience with the OS, and I haven't done any testing with it.
You should have python 3.x installed, but I've yet to test it with anything lower than 3.7.4, and I think there are some changes between python 3.6 and 3.7 in multiline string formatting, which (as you can imagine) was very important to this project.
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 text-file-reader-1.0.0.tar.gz
.
File metadata
- Download URL: text-file-reader-1.0.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4fcd18954a3ca4847db53d180c7f5a57a0d512f4f800ce0b80b5b9b17629a70 |
|
MD5 | 7a0a04f8d19f872e1dbc466bbf172ff8 |
|
BLAKE2b-256 | 809a5a6837df840fbad9166f38fb8d761cdcf86befb20f46917d933acd779f34 |
File details
Details for the file text_file_reader-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: text_file_reader-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30d5fd7efde05cbaa78b28026f376cd8c2044d2c671da20a92ddaa99aa936ee5 |
|
MD5 | a7520a587b738304ff820f8a930009ad |
|
BLAKE2b-256 | 3683303376032729e6d226ed8f4adb62af70c407118fa2450001ae6e15261552 |