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.2.0.tar.gz (20.8 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.2.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: emojis-0.2.0.tar.gz
  • Upload date:
  • Size: 20.8 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.2.0.tar.gz
Algorithm Hash digest
SHA256 4ecfdc418e76889784c07653738d2c8873448f922493b0043678f844db921b1c
MD5 52c10a1caac94ec4a6a86aad4e4fa016
BLAKE2b-256 2fb331a55896fe2bbd4bb0706d729f59c7fd99a1610a4d75eae557f0a593ddb4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: emojis-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41fecc9d53b6062c869927dbf75d07353999ef8d3ee05c7104f94858f9089db5
MD5 3a283d19fe61addaae283229b7a317b8
BLAKE2b-256 94b90ad5c56915734a52ebd72ded576e4d6e648e2b3615e93391dd949bb67a21

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