Skip to main content

Emojis for Python ๐Ÿ˜„ ๐Ÿ ๐Ÿ˜‹

Project description

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_name
  • search_by_key
  • search_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_....

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for emojislib, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size emojislib-0.0.1-py3-none-any.whl (35.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size emojislib-0.0.1.tar.gz (34.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page