Asynchronus loading bars and more
Project description
data_displays
Asynchronus loading bars and more
Example:
from data_diplays import data
if __name__ == "__main__":
from os import get_terminal_size
from time import sleep
data.bar.create("Download progress", duration=10, length=get_terminal_size()[0], lineno=1, size=250, unit="kb")
data.bar.create("Working", duration=5, length=50, lineno=3, size=125, unit="bytes")
data.bar.create("Decoding text", duration=5, length=25, lineno=5, size=2000)
sleep(3) # wait one second
data.bar.create("Uploading data", duration=10, length=15, lineno=7)
data.wait() # Wait until all displays are complete (This is absolutely necessary. It must be called after all the displays are created.)
print("Done!")
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
data_displays-0.1.0.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file data_displays-0.1.0.tar.gz.
File metadata
- Download URL: data_displays-0.1.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d770ede99d5da9274116569bff9c5382472ea0542107ee94c127009b45676f13
|
|
| MD5 |
55b1616552b9764e9c9b4483a83a2e86
|
|
| BLAKE2b-256 |
804f115431c17a24bcfa12a73ffa725d99d28b1cd18a8dbdd3434dc0e9a521eb
|
File details
Details for the file data_displays-0.1.0-py3-none-any.whl.
File metadata
- Download URL: data_displays-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8274838915f7d429078dc44e2e92964a2d7feb3408149faa2cc0d69942910361
|
|
| MD5 |
78caedcf8d6b6b25714356cd8a9e5522
|
|
| BLAKE2b-256 |
959ef825eef2431d02859aefb5dda00efe18194666e2bfe119eac366e643fec1
|