Skip to main content

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.

Metadata

Release files for text-file-reader 1.0.0

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

Source distribution (sdist)

Source distribution for text-file-reader 1.0.0
File Size Uploaded
text-file-reader-1.0.0.tar.gz 11.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for text-file-reader 1.0.0
File Interpreter ABI Platform
text_file_reader-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.4 kB

Release files / text-file-reader-1.0.0.tar.gz

Download URL text-file-reader-1.0.0.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a4fcd18954a3ca4847db53d180c7f5a57a0d512f4f800ce0b80b5b9b17629a70
BLAKE2b-256 checksum
How to use checksums
809a5a6837df840fbad9166f38fb8d761cdcf86befb20f46917d933acd779f34
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / text_file_reader-1.0.0-py3-none-any.whl

Download URL text_file_reader-1.0.0-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30d5fd7efde05cbaa78b28026f376cd8c2044d2c671da20a92ddaa99aa936ee5
BLAKE2b-256 checksum
How to use checksums
3683303376032729e6d226ed8f4adb62af70c407118fa2450001ae6e15261552
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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