Skip to main content

Adds emoji-rich greeting methods to the Greeting class.

Project description

cozy-kit-plugin-fancy-greetings

A cozy-kit plugin that adds emoji-rich greeting methods to the Greeting class.

Installation

pip install cozy-kit-plugin-fancy-greetings

Or via the cozy-kit marketplace CLI:

cozy-plugins marketplace install fancy-greetings

Methods added to Greeting

Method Description
wave() Sends a cheerful wave with a random emoji
celebrate() Congratulates the user with celebration emojis
cheer() Gives the user an energetic cheer

Usage

from cozy_kit.greeting import Greeting
from cozy_kit.plugins import plugin, add_plugin
import cozy_kit_plugin_fancy_greetings as fg

plugin(metadata=fg.METADATA, engine=fg.ENGINE)
add_plugin("fancy_greetings")

g = Greeting(name="Youssef")
print(g.wave())       # 👋 Hey, Youssef!
print(g.celebrate())  # 🎉 🥳 ✨ 🎊 🎈\nYou're doing amazing! Youssef!
print(g.cheer())      # Go go go, Youssef! 🚀⚡

License

MIT

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

cozy_kit_plugin_fancy_greetings-1.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

File details

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

File metadata

File hashes

Hashes for cozy_kit_plugin_fancy_greetings-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8b58a4a29d7365117121033f8d78553a35439a80c5b79b631ee52804b8382aa9
MD5 85624ee7ed9232c79f92375ee06a5825
BLAKE2b-256 be849e1884765935d64f41f323b97f4094d3b07196a29cb8ce31c496eeb3a8ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cozy_kit_plugin_fancy_greetings-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02dd159fb038bd7bd2eb5e680728ca2dc58f5128c088dae6040347f4131c4918
MD5 fd4cef9c3f7fef5cfbc151214ab428f1
BLAKE2b-256 033277cd0d98c1b031893e74b6ba16fab9ba9adaca2e029124fb9a93d3488a49

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