slpr; A sleep function with Emoji's. It shows a countdown, progress clock (switching emoji's), and my favorite, the Wizard.
Project description
🕛 prettysleeper
A Small Gimmick that makes waiting just a bit more fun by introducing a Wizard and a countdown timer to show the current waiting time with a running clock, emoji's and memes.
How to use:
# -*- coding: utf-8 -*-
from prettysleeper import slpr
slpr(10)
This will ouput something like this:
🧙 🕛 sleeping for 5
When it's done, the message is replaced with an alert:
🧙 Done!
Standard messages show a simple countdown and an alert message after, which can be customized using:
slpr(1, alert="YEET!")
... will look like this:
🧙 🕛 sleeping for 1
🧙 YEET!
True
*All options: slpr(time, alert="Done!", final=True, wiz="w"):
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prettysleeper-0.0.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for prettysleeper-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e98c20ce7e83b38e4cb8ca54c6aa0974f27dc3cc3beab1599322aa12fe8568e5 |
|
MD5 | 4783fc8649d033af8a8fbdab0d9c4f69 |
|
BLAKE2b-256 | f61acbc6f867ed7aab7f873152c77517526fbfcbd21086ebd74228b9a44e1381 |