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_....

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

emojislib-0.0.1.tar.gz (34.6 kB view details)

Uploaded Source

Built Distribution

emojislib-0.0.1-py3-none-any.whl (35.9 kB view details)

Uploaded Python 3

File details

Details for the file emojislib-0.0.1.tar.gz.

File metadata

  • Download URL: emojislib-0.0.1.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for emojislib-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d04b25a061a9e55e48ae7498f20f5938b291fb5f79c427148d9834e607139182
MD5 0b9f25ada630d310da4b2fdce2ea1edc
BLAKE2b-256 48d07bb45552a1e4ef8f6294186b2cc59878bb82f288cf1043a9deeaa02997f5

See more details on using hashes here.

File details

Details for the file emojislib-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: emojislib-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 35.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for emojislib-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0ce1daa09c951cfd5cdfbfac77b30dffe706c28ead812b52eee57dda2446493b
MD5 6c5beba1af3e1222b843ac3dc8a63031
BLAKE2b-256 42427af7d653083579bd59b7a820c8dc0a1f6e199a0680a79dcac10cc6e642aa

See more details on using hashes here.

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