Print a message with an indefinite loader
Project description
Print Loader
Table of Contents
Installation
pip install print-loader
Introduction
Sometimes you want to put an indefinite loader for a set of statements to see the progress in terminal. This package tries to solve that exact problem.
Examples
from print_loader import printl
import time
with printl("Sleeping"):
time.sleep(3)
with printl("Sleeping", update_every=0.1):
time.sleep(3)
with printl("Sleeping", update_every=0.1, loading_chars=["-", "|"]):
time.sleep(3)
License
print-loader
is distributed under the terms of the
MIT license.
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
print_loader-0.0.1a2.tar.gz
(4.3 kB
view details)
Built Distribution
File details
Details for the file print_loader-0.0.1a2.tar.gz
.
File metadata
- Download URL: print_loader-0.0.1a2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5ff2eb119097899223bcb3094278e518c52b949fc993f383adf2499c56037cd |
|
MD5 | 8369d14447dd2347d3d54fe39f8a45d3 |
|
BLAKE2b-256 | 6d05d34a15ec8693e0b8691e8f45287f1a4e240287327aecb71a059f4e284e97 |
File details
Details for the file print_loader-0.0.1a2-py3-none-any.whl
.
File metadata
- Download URL: print_loader-0.0.1a2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.23.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb59799634f93bbd872597df99be4a68990a667a9c254180f6be737329f49e55 |
|
MD5 | 42bdbd4e2da2c9fbe78dc6a30d0187d1 |
|
BLAKE2b-256 | fe1d6e80a6ff6fb03a20cfde77d018f48f8874361feb1f6f1ee0011ab3e581d6 |