Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shahaf-f-s/spinneration
A module for displaying progress messages and timers with spinners in the command line.
https://github.com/shahaf-f-s/spinneration
cli progress-bar progress-spinner spinner spinners
Last synced: 14 days ago
JSON representation
A module for displaying progress messages and timers with spinners in the command line.
- Host: GitHub
- URL: https://github.com/shahaf-f-s/spinneration
- Owner: Shahaf-F-S
- Created: 2023-06-15T21:48:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-19T15:56:08.000Z (9 months ago)
- Last Synced: 2024-05-03T15:31:19.131Z (9 months ago)
- Topics: cli, progress-bar, progress-spinner, spinner, spinners
- Language: Python
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spinneroo
> A module for displaying progress messages and timers with spinners in the command line.
## Installation
```
pip install spinneration
```## example
```python
import timefrom spinneration import Spinner
spinner1 = Spinner(
title='Process 1',
message='processing',
complete="complete",
counter=True,
clean=True,
silence=False
)
spinner1.spin()time.sleep(5)
spinner2 = Spinner(
title='Process 2',
message='processing',
complete="complete",
counter=True,
clean=True,
silence=False
)
spinner2.spin()time.sleep(5)
spinner2.stop()
time.sleep(5)
spinner1.stop()
```final output
```
Process 1: Paused 00:00:05
Process 2: complete 00:00:05
Process 1: complete 00:00:15
```