Skip to main content

Generate Lenny Faces

Project description

lennpy

Python Package for accessing Lenny faces

One day I woke up and decided that I needed lenny faces in my projects, but I was dissapointed when I found the lack of categorized and easily accessable lenny faces in Python. So I made this.

Installation

python3 -m pip install lennpy

Usage

If you just want the standard lenny faces, lennpy provides lennpy.lenny which holds the popular lenny face, among others:

>>> import lennpy as le
>>> le.lenny
'( ͡° ͜ʖ ͡°)'
>>> le.lenny.table_flip
'(╯°□°)╯︵ ┻━┻'

But lennpy also organizes lenny faces by categories, emotions, which from you can get a random face in various ways:

>>> import lennpy as le
>>> le.get_basic()
'( ͡° ͜ʖ ͡°)'
>>> le.emotions()
['basic', 'table_flip', ...]
>>> le.get('basic')
'( ͡ᵔ ͜ʖ ͡ᵔ )'

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

lennpy-0.0.3.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

lennpy-0.0.3-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page