[PR #1120] [CLOSED] Add yaspin #10037

Closed
opened 2026-04-24 05:21:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1120
Author: @pavdmyt
Created: 9/11/2018
Status: Closed

Base: masterHead: yaspin-cli-spinner


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

Yaspin provides a full-featured terminal spinner to show the progress during long-hanging operations.

Features:

  • Lightweight. No external dependencies
  • Runs at all major CPython versions (2.7, 3.4, 3.5, 3.6, 3.7), PyPy and PyPy3
  • Supports all (60+) spinners from cli-spinners
  • Supports all colors, highlights, attributes and their mixes from termcolor library
  • Easy to combine with other command-line libraries, e.g. prompt-toolkit
  • Flexible API, easy to integrate with existing code
  • User-friendly API for handling POSIX signals
  • Safe pipes and redirects:
$ python script_that_uses_yaspin.py > script.log
$ python script_that_uses_yaspin.py | grep ERROR

What's the difference between this Python project and similar ones?

Intuitive and powerful API:

import time
from yaspin import yaspin

with yaspin().white.bold.shark.on_blue as sp:
    sp.text = "White bold shark in a blue sea"
    time.sleep(5)  # time consuming code

yaspin

Lightweight; Constantly evolving; Flexible and feature-rich API for handling POSIX signals.

--

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1120 **Author:** [@pavdmyt](https://github.com/pavdmyt) **Created:** 9/11/2018 **Status:** ❌ Closed **Base:** `master` ← **Head:** `yaspin-cli-spinner` --- ### 📝 Commits (1) - [`40f4b63`](https://github.com/vinta/awesome-python/commit/40f4b63f502065c1ad37385b2d811a0fa24d78f8) Add yaspin ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? [Yaspin](https://github.com/pavdmyt/yaspin) provides a full-featured terminal spinner to show the progress during long-hanging operations. ### Features: - Lightweight. No external dependencies - Runs at all major **CPython** versions (*2.7*, *3.4*, *3.5*, *3.6*, *3.7*), **PyPy** and **PyPy3** - Supports all (60+) spinners from [cli-spinners](https://github.com/sindresorhus/cli-spinners) - Supports all *colors*, *highlights*, *attributes* and their mixes from [termcolor](https://pypi.org/project/termcolor/) library - Easy to combine with other command-line libraries, e.g. [prompt-toolkit](https://github.com/jonathanslenders/python-prompt-toolkit/) - Flexible API, easy to integrate with existing code - User-friendly API for handling POSIX [signals](https://www.computerhope.com/unix/signals.htm) - Safe **pipes** and **redirects**: ``` $ python script_that_uses_yaspin.py > script.log $ python script_that_uses_yaspin.py | grep ERROR ``` ## What's the difference between this Python project and similar ones? Intuitive and powerful API: ```python import time from yaspin import yaspin with yaspin().white.bold.shark.on_blue as sp: sp.text = "White bold shark in a blue sea" time.sleep(5) # time consuming code ``` ![yaspin](https://raw.githubusercontent.com/pavdmyt/yaspin/master/gifs/shark.gif) Lightweight; Constantly evolving; Flexible and feature-rich API for handling POSIX signals. -- Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 05:21:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#10037