Skip to main content

discord-emoji

PyPI PyPI - Downloads
This lib converts discord emoji and unicode emoji.

Install

pip install discord-emoji

Usage

>>> import discord_emoji
>>> discord_emoji.to_unicode("thinking")
'🤔'
>>> discord_emoji.to_unicode(":thinking:")
'🤔'
>>> discord_emoji.to_discord("🤔")
'thinking'
>>> discord_emoji.to_discord("🤔", get_all=True)
['thinking', 'thinking_face']
>>> discord_emoji.to_discord("🤔", put_colons=True)
':thinking:'
>>> discord_emoji.to_uni(":thinking:")
'🤔'
>>> discord_emoji.to_dis("🤔")
'thinking'
>>> discord_emoji.to_discord_multi("🤔 This is hard!  😫 I'm tired...")
":thinking: This is hard!  :tired_face: I'm tired..."
>>> discord_emoji.to_unicode_multi(":thinking: This is hard!  :tired_face: I'm tired...")
"🤔 This is hard!  😫 I'm tired..."

Licence

Please see LICENSE.

Metadata

Release files for discord-emoji 1.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for discord-emoji 1.4.2
File Size Uploaded Provenance Actions
discord_emoji-1.4.2.tar.gz 36.0 kB Without provenance Details for discord_emoji-1.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for discord-emoji 1.4.2
File Interpreter ABI Platform Actions
discord_emoji-1.4.2-py3-none-any.whl Python 3 none any Details for discord_emoji-1.4.2-py3-none-any.whl

Total release size: 72.4 kB

Release files / discord_emoji-1.4.2.tar.gz

Download URL discord_emoji-1.4.2.tar.gz
Size 36.0 kB
Tags Source
SHA-256 checksum
How to use checksums
61c60a868c86223c5881c855ed52ef2924ab1b6f4be002b276bd2a1b62bb4fa4
BLAKE2b-256 checksum
How to use checksums
f8f8832598a1f132ce2004d6e49df2bf4c82eeaa51539addefe2c57e2000e8f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.9.16 Linux/5.15.90.1-microsoft-standard-WSL2

Release files / discord_emoji-1.4.2-py3-none-any.whl

Download URL discord_emoji-1.4.2-py3-none-any.whl
Size 36.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
faccb77aab5f5052d3a9ad53b55c7fa4325e7f0593080027978a0b50cfb05591
BLAKE2b-256 checksum
How to use checksums
a37585c4e6e0c8c378cddf2d4c470be592bdfe702654783bace409e71818c7c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.9.16 Linux/5.15.90.1-microsoft-standard-WSL2

Security for discord-emoji 1.4.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page