Skip to main content

A build-time generated emoji lexicon for Python

Project description

emoji-lexicon

emoji-lexicon is a build-time generated emoji lexicon for Python, designed for fast and reliable emoji lookup.

Features

  • Fast emoji lookup by short name, alias, or tag
  • Designed for CLI, IME, and dictionary tools
  • Unicode / CLDR based canonical data
  • Build-time normalization, runtime zero-cost lookup
  • Optional gemoji-compatible export

Requirements

  • Python 3.12+

Installation

pip install emoji-lexicon

Usage

from emoji_lexicon import get_catalog

catalog = get_catalog()

catalog.get("smile")		# lookup by short name or alias
catalog.get_by_char("😁")	# lookup by emoji character
catalog.search("happy")		# full-text search (alias / tag)
len(catalog)				# total emoji count

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

emoji_lexicon-0.1.0.tar.gz (300.0 kB view details)

Uploaded Source

Built Distribution

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

emoji_lexicon-0.1.0-py3-none-any.whl (184.5 kB view details)

Uploaded Python 3

File details

Details for the file emoji_lexicon-0.1.0.tar.gz.

File metadata

  • Download URL: emoji_lexicon-0.1.0.tar.gz
  • Upload date:
  • Size: 300.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for emoji_lexicon-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a8ba5ff4a2bc3eeda67748a5bedfb2b5c9a22e0a1e5a42fe9dce3d6d08dda097
MD5 faa6834826c2848aeb30bc21a91c629e
BLAKE2b-256 b89896ecbc703e666f6a03da6dbd477188b8612660bac5b43644e04416a347c6

See more details on using hashes here.

File details

Details for the file emoji_lexicon-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: emoji_lexicon-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 184.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for emoji_lexicon-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4af26daf181f7ca33a4c43a9a0d66062bf6973c05f8d6692b1b4e68a3f7ecd5f
MD5 d16b002a2f2b8c5d0753628b30ef3bc6
BLAKE2b-256 00741a020fa33859a5383cdb598b0751ab30d975707225750e60423472336f90

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