pygrape is a python library for updating terminal output in realtime
Project description
# pygrape
[](https://travis-ci.org/Leviathan1995/pygrape)
[](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

### License
MIT
[](https://travis-ci.org/Leviathan1995/pygrape)
[](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

### License
MIT
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
pygrape-1.1.tar.gz
(2.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9d01a0690bfebc681ba254f0cbabd8221dfa90e444d355cfd50cbb70c71476c
|
|
| MD5 |
d20bdc546e384200170a956c39fb1566
|
|
| BLAKE2b-256 |
6275dbf6915f70cb1f023d1808a601d26f9880a381db1d9071c81b244fcec91e
|