{"repo":"tradingstrategy-ai/tqdm-loggable","free":true,"listed":false,"github":"https://github.com/tradingstrategy-ai/tqdm-loggable","clone":"git clone https://github.com/tradingstrategy-ai/tqdm-loggable.git","description":"Logging friendly progress messages for TQDM progress bars","language":"Python","stars":42,"topics":["docker","logging","progress-bar","python","tqdm"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"tqdm-loggable ============= tqdm-loggable is a petite Python package providing logging-friendly TQDM progress bars. If your Python application has tqdm progress bars and you use them in a non-interactive session like... - Background worker - Docker container - Edge computing - Logstash, Sentry, Datadog or other external log tools - Long-running machine learning tasks - Datalore notebook environments from JetBrains - ...or stdout stream is otherwise not available or redirected ...you cannot have an interactive progress bar. What happens is that if you are observing your application using monitoring tools, you usually do not see anything happening while your application is having tqdm progress ongoing. If the progress bar'ed operation takes few minutes your appliaction may appear frozen. This is fixed by tqdm-logging by sending a regular reports about your progress to logging backend like files and log monitoring tools. In these situations tqdm-loggable will automatically turn your tqdm progress bars to loggable progress messages that can be read in headless systems. tqdm-loggable ... - Is a drop-in replacement for the normal tqdm - nothing changes unless non-interactive session is detected - Is compatible with tqdm.auto and HTML-based progress bars in Jupyter Notebooks - Uses Python logging subsystem to report status instead of terminal - Print a log line for every X seconds - The logging messages are structured, so they work with Sentry, LogStash, etc. rich logging services w","default_branch":null,"files":null,"tree":[],"storefront":"/r/tradingstrategy-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tradingstrategy-ai/tqdm-loggable/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}