Randomly adds affirming print statements to functions.
Project description
Affirmations
A module that gives you a little bump of encouragement.
Requirements
- A positive attitude
- A can-do spirit
Installation
pip install Affirmations
Usage
Decorate any function to get a random affirmation printed to stdout every time that function is run
from Affirmations import affirm
@affirm
def hello_world():
print("hello")
hello_world()
hello
You are awesome!
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
Affirmations-0.0.8.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for Affirmations-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78526d2cd853b7ec6a8178ee365b659c6e2cba4cde2442ef6a5ae5ccc6cb8699 |
|
MD5 | 653994eb9a1cae6bfae467afa6e00f7a |
|
BLAKE2b-256 | 340323e5b983f44fa38d56e5b18e013c0d1e22f9581698c8c073516c46fcb758 |