Skip to main content

pygrape is a python library for updating terminal output in realtime

Project description

# pygrape
[![Build Status](https://travis-ci.org/Leviathan1995/pygrape.svg?branch=master)](https://travis-ci.org/Leviathan1995/pygrape)
[![PyPI version](https://badge.fury.io/py/pygrape.svg)](https://badge.fury.io/py/pygrape)

pygrape is a python library for updating terminal output in realtime



### Usage

```python
pip3 instlal pygrape
```

### Example

```python
from pygrape import pygrape

def main():
writer = pygrape(0.05)
print("Downloading pygrape.whl (2 MB)")
bar = "█"
for i in range(101):
time.sleep(0.05)
if i % 2 == 0:
bar += "█"
writer.writer(" " + str(i) + "% |" + bar + "|")
writer.flush()
writer.stop()
```

#### Result

![gif](https://github.com/Leviathan1995/pygrape/blob/master/doc/HD.gif)

### License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygrape-1.1.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file pygrape-1.1.tar.gz.

File metadata

  • Download URL: pygrape-1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygrape-1.1.tar.gz
Algorithm Hash digest
SHA256 d9d01a0690bfebc681ba254f0cbabd8221dfa90e444d355cfd50cbb70c71476c
MD5 d20bdc546e384200170a956c39fb1566
BLAKE2b-256 6275dbf6915f70cb1f023d1808a601d26f9880a381db1d9071c81b244fcec91e

See more details on using hashes here.

Supported by

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