Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

A Glance client and library for terminal speed reading.

Project description

_
_ __ _ _ __ _| | __ _ _ __ ___ ___
| '_ \| | | |/ _` | |/ _` | '_ \ / __/ _ \
| |_) | |_| | (_| | | (_| | | | | (_| __/
| .__/ \__, |\__, |_|\__,_|_| |_|\___\___|
|_| |___/ |___/

# pyglance

A python client and library for [Glance](http://github.com/Miserlou/Glance) applications.

It's not the best because it doesn't have top/bottom registration marks yet. Improvements welcome.

## Installation

pip install pyglance

## Usage (CLI)

$ glance filename.txt
$ glance file1.txt file2.txt --speed 500

## Usage (Programmatic)

from pyglance import glance

glance(your_text_string)
wpm = 800
glance(your_text_string, wpm)

## About

There were some other attempts to do this, but none that quite accurately matched the 'Glance' timing and spacing specification.

This is used by the [seek](http://github.com/Miserlou/seek) project.

3 Clause BSD, Rich Jones 2014.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page