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.7.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for Affirmations-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4205b5020de52d6cd43c3df86fd2af57bba1ebb1de5a35d21b2b69fa6e3e257 |
|
MD5 | 8adfad7967c30b0f3edface875dbfbb9 |
|
BLAKE2b-256 | 2f20c5ac190e60e2588fac66ff5ea73e83c048561e7bd914cdce220e8000fe6d |