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"): Try loading as module ;)
python -m wizprint
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-1.0.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for prettysleeper-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e21a99856796fed633ef5fc6a9917a402709619a4a89cc239c59aec222249c9c |
|
MD5 | e44487d683e806cfd0fd0bfbc4ab18a5 |
|
BLAKE2b-256 | 68c28c8ecbe57f1539dd10aa3139e636273459b8c3469f87e6793ab3cab1e792 |