tqdme 0.0.2
pip install tqdme==0.0.2
Newer version available (0.0.3)
Released:
Forward progress from tqdm to a public website
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD 3-Clause License Copyright (c) 2024, Garrett Flynn All rights reserved. Redistribution and use...)
- Author: Garrett Flynn
- Tags bar , meter , progress , progressbar , progressmeter , time , tqdm
- Requires: Python >=3.9
-
Provides-Extra:
server
,test
Classifiers
- Intended Audience
- License
- Operating System
- Programming Language
Project description
tqdme
Environment Variables
TQDME_URL
- URL to the TQDME server. Default:http://tqdm.me
TQDME_DISPLAY
- Show TQDM progress bars in the terminal. Default:True
TQDME_VERBOSE
- Print debug messages. Default:False
Usage
tqdm Replacement
Use tqdme
as a drop-in replacement for tqdm
in your Python scripts.
import time
# from tqdm import tqdm
from tqdme import tqdme
num_iterations = 100 # Define the number of iterations
for i in tqdme(range(num_iterations)):
time.sleep(0.1) # Sleep for 0.1 seconds
Relay Server (Flask + SocketIO)
Note: The
tqdme
server assumes you have provided anindex.html
file in thebase
directory.
from tqdme.server import Server
from flask import send_from_directory
from pathlib import Path
script_directory = Path(__file__).parent.resolve()
server = Server(script_directory, 'localhost', 3768)
app = server.app
@server.app.route('/src/<path:path>')
def get_static_assets(path):
return send_from_directory(server.base / 'src', path)
server.run()
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD 3-Clause License Copyright (c) 2024, Garrett Flynn All rights reserved. Redistribution and use...)
- Author: Garrett Flynn
- Tags bar , meter , progress , progressbar , progressmeter , time , tqdm
- Requires: Python >=3.9
-
Provides-Extra:
server
,test
Classifiers
- Intended Audience
- License
- Operating System
- Programming Language
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tqdme-0.0.2.tar.gz
.
File metadata
- Download URL: tqdme-0.0.2.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b67279b3ee047813777f97f58410d8da0493586036a31fcd77bf665005403885
|
|
MD5 |
833148a4a3da0b548853dbded832dcd4
|
|
BLAKE2b-256 |
10e2296aaac3e7248ee710f3c16862f92a30e083d17f0245cb4e8d58ba28d65a
|
File details
Details for the file tqdme-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: tqdme-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
247f5338bf7a57e580c2b70663050fcfe226c0cce6e277519285b72b1087a92b
|
|
MD5 |
48ea536aeee4ed21aa101b334f55040a
|
|
BLAKE2b-256 |
5a779881430595bebf78531e6b53b8c1761127460920185f53f7ef7434fa7e0e
|