Metadata-Version: 2.4
Name: emoji-lexicon
Version: 0.1.0
Summary: A build-time generated emoji lexicon for Python
Project-URL: Homepage, https://github.com/kimikato/emoji-lexicon
Project-URL: Source, https://github.com/kimikato/emoji-lexicon
Project-URL: Issues, https://github.com/kimikato/emoji-lexicon/issues
Project-URL: Documentation, https://github.com/kimikato/emoji-lexicon/tree/main/docs
Author: Kiminori KATO
License: MIT License
        
        Copyright (c) 2025 Kiminori Kato
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        [以下 MIT License の全文 …]
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.12
Requires-Dist: msgpack>=1.0.7
Provides-Extra: dev
Requires-Dist: black; extra == 'dev'
Requires-Dist: build; extra == 'dev'
Requires-Dist: coverage; extra == 'dev'
Requires-Dist: flake8; extra == 'dev'
Requires-Dist: mypy>=1.9; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.4; extra == 'dev'
Description-Content-Type: text/markdown

# 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

```bash
pip install emoji-lexicon
```

---

## Usage

```Python
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
```
