Skip to main content

psleep; 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 install:

Download from pip:

python -m pip install prettysleeper

How to use:

# -*- coding: utf-8 -*-
from prettysleeper import psleep
psleep(10)

This will ouput something like this:

🧙   🕛 sleeping for 10 

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:

psleep(1, alert="YEET!")

... will first like this:

🧙   🕛 sleeping for 1 

... then:

🧙   YEET!

*All options: psleep(time, alert="Done!", final=True, wiz="w"): When final is set to False, there won't be a final True output after the alert. Try loading as module ;)

python -m prettysleeper

For console usage, see:

psleep -h

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.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

prettysleeper-1.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file prettysleeper-1.1.0.tar.gz.

File metadata

  • Download URL: prettysleeper-1.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

File hashes

Hashes for prettysleeper-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b847eba8203d5562838aaeca4934cdc94a7622b1e0a090eddf8a061f48aa3933
MD5 aba35a02b4b6c3d4dae5f9c5500bdde6
BLAKE2b-256 46dd35144edb3f0c6003492fb27bad7f27adb63d64dac1c0684998e1b9d514af

See more details on using hashes here.

File details

Details for the file prettysleeper-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: prettysleeper-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.4

File hashes

Hashes for prettysleeper-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10900b9aa1fb58be39808b8dc00cfddb192a3df74e981eb86a59e01ca0c9009c
MD5 536efdb196cccd840e10bc4886a2fb04
BLAKE2b-256 c0421e00a6ddb5117caccd6c323c661e8b41ae6641da59223455edac663ac4aa

See more details on using hashes here.

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