emojislib
Emojis for Python 😄 🐍 😋
Installation
To install the emojislib run:
pip install emojislib
Usage
emojis.Emojis is a dict which contains all emojis available in emojislib.There are two main types of methods in emojislib ,by_ and search_by_.
by_...
by_name
get one emoji by name
import emojislib as emojis
emoji = emojis.by_name('eyes')
print("name:",emoji.name)
print("char:",emoji.char)
print("category:",emoji.category)
print("keywords:",emoji.keywords)
output:
name: eyes
char: 👀
category: people
keywords: ('look', 'watch', 'stalk', 'peek', 'see')
by_cate
get a list of emoji(s) by category.
emoji = emojis.by_cate('animals_and_nature')
print(emoji)
output:
animals_and_nature [ 🐒, 🐵, 🐭, 🐁, 🍄, 🌑, ⚡]
by_key
get a list of emoji(s) by keywords.
emoji = emojis.by_key('winter')
print("winter:",emoji)
winter: [❄️, ⛄, ☃, 🎿, ⛷, 🏂, 🏔]
search_by_...
Thers are 3 search_by_... methods:
search_by_namesearch_by_keysearch_by_cate
Just replace get emoji(s) by a exact str with get emoji(s) by a part of a exact str compared with by_....
Release files for emojislib 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| emojislib-0.0.1.tar.gz | 34.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| emojislib-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 70.5 kB
Release files / emojislib-0.0.1.tar.gz
| Download URL | emojislib-0.0.1.tar.gz |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d04b25a061a9e55e48ae7498f20f5938b291fb5f79c427148d9834e607139182
|
|
BLAKE2b-256 checksum How to use checksums |
48d07bb45552a1e4ef8f6294186b2cc59878bb82f288cf1043a9deeaa02997f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.5
|
Release files / emojislib-0.0.1-py3-none-any.whl
| Download URL | emojislib-0.0.1-py3-none-any.whl |
|---|---|
| Size | 35.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ce1daa09c951cfd5cdfbfac77b30dffe706c28ead812b52eee57dda2446493b
|
|
BLAKE2b-256 checksum How to use checksums |
42427af7d653083579bd59b7a820c8dc0a1f6e199a0680a79dcac10cc6e642aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.5
|