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 disappointed 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
lennpy organizes lenny faces by categories, emotions, which from you can get the most popular standard representation very simply and elegantly:
>>> import lennpy as le
>>> le.basic
'( ͡° ͜ʖ ͡°)'
>>> le.table_flip
'(╯°□°)╯︵ ┻━┻'
>>> le.happy
'☜(⌒▽⌒)☞'
But don't want the same old face every time? Don't worry, lennpy has you covered! You can also call any of these emotions as if they were methods to get a randomzied lenny from a large pool of faces:
>>> import lennpy as le
>>> le.basic()
'( ͡◉ ͜ʖ ͡◉)'
>>> le.basic()
'( ͡° ل͜ ͡°)'
>>> le.table_flip()
'(╯ ͡° ل͜ ͡°)╯︵ ( ͜。 ͡ʖ ͜。)'
>>> le.table_flip()
'┻━┻ ︵ ¯\_( ͡° ͜ʖ ͡°)_/¯ ︵ ┻━┻'
And if it's needed you can also access the available emotions and retrive faces programmatically (but lets be honest here, this is boring):
>>> import lennpy as le
>>> le.emotions()
['basic', 'table_flip', ...]
>>> le.get('basic')
'( ͡° ͜ʖ ͡°)'
>>> le.get('basic')
'( ͡° ͜ʖ ͡°)'
>>> le.get('basic', randomized=True)
'(͠≖ ͜ʖ͠≖)'
┬┴┬┴┤ ͜ʖ ͡°) ├┬┴┬┴
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
Built Distribution
File details
Details for the file lennpy-0.0.8.tar.gz
.
File metadata
- Download URL: lennpy-0.0.8.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
88eeb0a37b01e934b2e2b7ec7f3805894164492d7d7720c1f1934a25340893c6
|
|
MD5 |
1b5f2d37051fa43733afe28530972909
|
|
BLAKE2b-256 |
534ee55db6024ccd188697a52f6e9658bf1e4445f2baec2cc02bc668c45ea05c
|
File details
Details for the file lennpy-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: lennpy-0.0.8-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b3627ea1cc58e449ef0b0273c7a85510890f01dc89dbddf37d6feca17cf476fa
|
|
MD5 |
4d7f3f01cd40b3e8d84b8ee09bec04fc
|
|
BLAKE2b-256 |
937f7f762d55e40656bca705d851b3078f6f71fa787c81da107f97fa8ea510d2
|