Skip to main content

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


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)

Uploaded Source

Built Distribution

prettysleeper-1.0.0-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

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