From 47aa6a3fc15fee1ef471ef0810e5524fc1936e6a Mon Sep 17 00:00:00 2001 From: Paillat Date: Thu, 29 May 2025 13:41:52 +0200 Subject: [PATCH] :sparkles: Add __all__ declaration to expose public API for emojize and demojize functions (#17) --- src/dismoji/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/dismoji/__init__.py b/src/dismoji/__init__.py index cd94a81..97ec137 100644 --- a/src/dismoji/__init__.py +++ b/src/dismoji/__init__.py @@ -66,3 +66,11 @@ def demojize(s: str) -> str: return f":{REVERSE_EMOJI_MAPPING[emoji]}:" return EMOJI_CHARS_PATTERN.sub(replace, s) + + +__all__ = ( + "EMOJI_MAPPING", + "REVERSE_EMOJI_MAPPING", + "demojize", + "emojize", +)