Skip to main content

A build-time generated emoji lexicon for Python

Project description

emoji-lexicon

Tests coverage PyPI version Python License

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
catalog.groups()            # available emoji groups
catalog.subgroups()         # available emoji subgroups

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.1.tar.gz (300.4 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.1-py3-none-any.whl (184.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: emoji_lexicon-0.1.1.tar.gz
  • Upload date:
  • Size: 300.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for emoji_lexicon-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8dd3a7927c1b008ffd242190ebd0c276c22c45e421ebb1ac86850ea0551ced03
MD5 21d2b60629df23cd01bda7c37073941d
BLAKE2b-256 0613c1e070c718cd2ce55e7b34142ddbb9a2b2a4c5539cdc446ed49f1bf76b65

See more details on using hashes here.

Provenance

The following attestation bundles were made for emoji_lexicon-0.1.1.tar.gz:

Publisher: release.yml on kimikato/emoji-lexicon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: emoji_lexicon-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 184.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for emoji_lexicon-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2a565ea66ca839eeb6a63d537cf2799e9e1d594535e70dc72794617ecd582d0b
MD5 7c0873f4e1507d3b323fdf1fbc7bcd77
BLAKE2b-256 bd4ecce0624e89c82eca02f84461c76af3c70fea8a2098ff45b2a89851387ca7

See more details on using hashes here.

Provenance

The following attestation bundles were made for emoji_lexicon-0.1.1-py3-none-any.whl:

Publisher: release.yml on kimikato/emoji-lexicon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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