Skip to main content

Animated clock-emoji busy spinner for Slack messages

Project description

emoji-progress-bar

Animated clock-emoji busy spinner for Slack messages.

SlackBusySpinner is an iterator that yields Slack clock-emoji names (clock1, clock130, clock2, ... clock1230) in a loop. Update a Slack message's emoji with each value to render a spinning clock while a long task runs.

Install

pip install emoji-progress-bar

Usage

from emoji_progress_bar import SlackBusySpinner

# Endless spinner: yields clock1, clock130, clock2, ... and loops.
for emoji in SlackBusySpinner():
    # e.g. update your Slack message with f":{emoji}:"
    ...

# Bounded spinner: StopIteration once the internal index passes `timeout`.
spinner = SlackBusySpinner(timeout=48)
emojis = list(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 Distribution

emoji_progress_bar-0.0.2.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

emoji_progress_bar-0.0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file emoji_progress_bar-0.0.2.tar.gz.

File metadata

  • Download URL: emoji_progress_bar-0.0.2.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for emoji_progress_bar-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2a15ab5188740091f0755d84e1ad20516f73da09d6d461ba7498fe30e66b4d54
MD5 655db5bc0f96bec0fc915fb33b2bed65
BLAKE2b-256 a95d89b17093071229b1eba33ab4d99960aaabee0503c1c1df251fdfa07f7d50

See more details on using hashes here.

Provenance

The following attestation bundles were made for emoji_progress_bar-0.0.2.tar.gz:

Publisher: release.yaml on Pierre-Sassoulas/emoji-progress-bar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file emoji_progress_bar-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for emoji_progress_bar-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a6457d52c169077909eee05dfd2066f36bc431e9c0e539fa67c54cec755056c3
MD5 0ccc63772a2d8c44fe62a7867d2d64f8
BLAKE2b-256 c4d030fc402206fbefc52a719215204bcb29f9805e6a138e9da0d044c0587d52

See more details on using hashes here.

Provenance

The following attestation bundles were made for emoji_progress_bar-0.0.2-py3-none-any.whl:

Publisher: release.yaml on Pierre-Sassoulas/emoji-progress-bar

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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