Emoji2Text
Take a string with emoji in it. Convert them into their text based names.
from emoji2text import emoji2text
emoji2text("""
Take a 🎁 of emoji like 🥑, 😞 or 🤮
and convert them to 🔠 🔡
and you'll be feeling all
🙌🏾 💪🏻 👩🔬 👨💻 💯 🎊!
""")
# Take a wrapped gift of emoji like avocado, disappointed face or face vomiting
# and convert them to input latin uppercase input latin lowercase
# and you'll be feeling all
# raising hands: medium-dark skin tone flexed biceps: light skin tone woman scientist man technologist hundred points confetti ball!
You can also wrap them to help differenciate each emoji like so:
emoji2text("😀😂😂😎", ":")
# :grinning face::face with tears of joy::face with tears of joy::smiling face with sunglasses:
emoji2text("😀😂😂😎", "<", ">")
# <grinning face><face with tears of joy><face with tears of joy><smiling face with sunglasses>
To install, use pip
pip install emoji2text
Only supports Python 3 and emoji version 5.0 (2017). If someone is interested in increasing support I’d be happy to look at any PR.
If you spot any errors, please create an issue with a failing input and expected result.
Only possible thanks to the very helpful grapheme module.
Metadata
Release files for emoji2text 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| emoji2text-0.1.7.tar.gz | 39.8 kB | Without provenance | Details for emoji2text-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| emoji2text-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for emoji2text-0.1.7-py3-none-any.whl |
Total release size: 82.5 kB
Release files / emoji2text-0.1.7.tar.gz
| Download URL | emoji2text-0.1.7.tar.gz |
|---|---|
| Size | 39.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
141e2759116f37d8df30f420e36c6cbb280bc0c814de5dc0adf4047d4abfcf48
|
|
BLAKE2b-256 checksum How to use checksums |
446306313d349b997f13608fcb17fb579a5a609beb7a8968692d7ef78d119a0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / emoji2text-0.1.7-py3-none-any.whl
| Download URL | emoji2text-0.1.7-py3-none-any.whl |
|---|---|
| Size | 42.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da786889fec905be8e1aa6c380da71a1a6a50c3bfb180936c8d02ae18449ece5
|
|
BLAKE2b-256 checksum How to use checksums |
4a5d6c7024fc10176b764c827c385a7d3f73e61173a2d72a9b3fd4a833714fff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for emoji2text 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.