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
Release history Release notifications | RSS feed
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.1.0.tar.gz
(20.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file emojis-0.1.0.tar.gz.
File metadata
- Download URL: emojis-0.1.0.tar.gz
- Upload date:
- Size: 20.7 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c95dea116ea720549293d5e42d7e6ab09c96dd5c76f4ef70dd9c97b982800125
|
|
| MD5 |
8795d0170815dd208066c19a71722319
|
|
| BLAKE2b-256 |
09f3c12f8497d9940a101fdfd4f7fc53fca8fbc8bb7fca87f2432c941ebe1eff
|
File details
Details for the file emojis-0.1.0-py3-none-any.whl.
File metadata
- Download URL: emojis-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0a6da5158050ab203085208566de09682d40439fb50892ce03b4731d5d187a1
|
|
| MD5 |
033f2811a764d960f0a488f065cec388
|
|
| BLAKE2b-256 |
f06565ec84a2435a7c79fdbb950f15764c2400dd9d11af131c3456eb153b4620
|