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)
'(͠≖ ͜ʖ͠≖)'
┬┴┬┴┤ ͜ʖ ͡°) ├┬┴┬┴
Metadata
Release files for lennpy 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lennpy-0.0.8.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lennpy-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / lennpy-0.0.8.tar.gz
| Download URL | lennpy-0.0.8.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88eeb0a37b01e934b2e2b7ec7f3805894164492d7d7720c1f1934a25340893c6
|
|
BLAKE2b-256 checksum How to use checksums |
534ee55db6024ccd188697a52f6e9658bf1e4445f2baec2cc02bc668c45ea05c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / lennpy-0.0.8-py3-none-any.whl
| Download URL | lennpy-0.0.8-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b3627ea1cc58e449ef0b0273c7a85510890f01dc89dbddf37d6feca17cf476fa
|
|
BLAKE2b-256 checksum How to use checksums |
937f7f762d55e40656bca705d851b3078f6f71fa787c81da107f97fa8ea510d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|