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.2.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.2.0.tar.gz.

File metadata

File hashes

Hashes for cozy_kit_plugin_fancy_greetings-1.2.0.tar.gz
Algorithm Hash digest
SHA256 4fa03413f36557bf63287641426b17caae135c3442f61fece5db593c6da9e3c8
MD5 b0c1bd703956e7a7dd9b7ddb1ae70db7
BLAKE2b-256 7ac4a782ccbe296cc839a21169341a781c6ca42df253bd942b7f33292c3e4464

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cozy_kit_plugin_fancy_greetings-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d18875859b4723cf71d183d8c25b7d70db4260557b0d7d4faae89e51a5a0176b
MD5 f92a1a4f3b23de9b1c7a8049cc7ee604
BLAKE2b-256 afe1f8206252e2f524af71f772720806d232af960d71f3a1b4119293c8b80d51

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