Skip to main content

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() # prints an affirmation to stdout 100% of the time this function is run
def hello_world():
    print("hello")

@affirm(0.2) # prints an affirmation to stdout 20% of the time this function is run
def hello_world2():
    print("hello")

hello_world()
hello
You are awesome!

Metadata

Release files for Affirmations 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Affirmations 0.0.10
File Size Uploaded Provenance
Affirmations-0.0.10.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Affirmations 0.0.10
File Interpreter ABI Platform
Affirmations-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / Affirmations-0.0.10.tar.gz

Download URL Affirmations-0.0.10.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a71e80c265ce3002bd3e3326e625f8433c9ad69e284cf4f9b386095d164a0b39
BLAKE2b-256 checksum
How to use checksums
cacab4e701f17671b63b24a4f90c36f54ae83d576b324f41620d4c3b20666b8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.8

Release files / Affirmations-0.0.10-py3-none-any.whl

Download URL Affirmations-0.0.10-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0062134c73e7042f592de67ab41e4af8f67c9268cc1dfa99b0730248c4efc222
BLAKE2b-256 checksum
How to use checksums
0f38020b0bbcf5ab37409ceb1463f70b2ebe425cda7b390abe7c6fef7c55c9ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.8

Security for Affirmations 0.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page