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.9.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for Affirmations-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c4db81bb851b9eb9365f2e74f06429340abdaff6cc562355344e02086c0e67d |
|
MD5 | f7f7ff36d8b989aff0f5751dd155ac3a |
|
BLAKE2b-256 | c629e6c685b26f10828fe118aec199da86dfc9fcad70e25005be46d1eafa6a56 |