Skip to main content

Emojis for Python

Project description

Emojis for Python

About

This library allows you to emojify content such as: This is a message with emojis :smile: :heart:

See the Emoji cheat sheet for more aliases.

Emoji database based on gemoji.

Example

>>> import emojis

>>>  emojis.encode('This is a message with emojis :smile: :heart:')
'This is a message with emojis 😄 ❤️'

>>> emojis.decode('This is a message with emojis 😄 ❤️')
'This is a message with emojis :smile: :heart:'

>>> emojis.get('Prefix 😄 ❤️ 😄 ❤️ Sufix')
{'😄', '❤️'}

>> emojis.count('😄 ❤️ 😄 ❤️')
4

>>> emojis.count('😄 ❤️ 😄 ❤️', unique=True)
2

Installation

Install emojis with pip.

pip3 install -U emojis

License

MIT

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

emojis-0.3.0.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

emojis-0.3.0-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file emojis-0.3.0.tar.gz.

File metadata

  • Download URL: emojis-0.3.0.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for emojis-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4cb44e7b1daf3765a4f5774b6e9717b4d1481317b0866383378b4629b55c2627
MD5 af3501fbc74d62ccef1f8ddcd977ee0b
BLAKE2b-256 8b40b9ace0dbd461aef0bc61ecf0b3dc1d9e9ee61a47011b00c36eaa5159669f

See more details on using hashes here.

File details

Details for the file emojis-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: emojis-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

File hashes

Hashes for emojis-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b2b22718ae402b7b118f7af7252365332644232d7abf12e2e1dfdc5f4f9ed8d
MD5 3c578230fa7c4f83ce3acc8b6e642381
BLAKE2b-256 dd185a8fd81e17cc3787edc9cabd3c53d675231bdca8fa9b1c29d67026dd19ea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page