Skip to main content

Spinner Logger for Python

Project description

spinglog.py

Spinner Logger for Python

Installation

Just pip install spinlog and you can use it.

Usage

Here is a basic usage of spinlog

from spinlog import LogProgress
from time import sleep

print("About to launch Spinner")
with LogProgress("I'm spinning around") as s:
    sleep(2)
    s.info("Here is an info message") # you can use warn, error, or debug
    sleep(2)
    s.log("It's so funny", symbol="😆".encode("utf-8"))
    sleep(2)
print("Spinning Over")

Spinlog is build on top of halo providing a different API to interact with the spinner.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

spinlog-0.2.0-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page