Metadata-Version: 2.1
Name: spinlog
Version: 0.2.1
Summary: Spinner Logger for Python
Home-page: http://github.com/AdrieanKhisbe/spinlog.py
Author: AdrieanKhisbe
Author-email: adriean.khisbe@live.fr
License: UNKNOWN
Keywords: cli terminal log logger logging shell update animation progress
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: System :: Logging
Description-Content-Type: text/markdown
Requires-Dist: halo

# spinlog.py

[![PyPI](https://img.shields.io/pypi/v/spinlog.svg)](https://pypi.org/project/spinlog/)
[![Supported Python Versions](https://img.shields.io/pypi/pyversions/spinlog.svg)](https://pypi.python.org/pypi/spinlog)
[![Build Status](https://travis-ci.org/AdrieanKhisbe/spinlog.py.svg?branch=master)](https://travis-ci.org/AdrieanKhisbe/spinlog.py)

> Spinner Logger for Python

## Installation

Just `pip install spinlog` and you can use it.

## Usage

Here is a basic usage of spinlog

```python
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](https://github.com/manrajgrover/halo) providing a different API
to interact with the spinner.


