import re def emoji_extract(text: str) -> str: """ Return a string that contains only emoji characters from text. Heuristic c…
Project description
emoji_getter
emoji_getter is a Python package designed to extract emoji characters from a given text string. It uses a regular expression to identify and collect common emoji patterns.
Installation
To install emoji_getter, use pip:
pip install emoji_getter
Usage
Using emoji_getter is straightforward. Here's an example:
from emoji_getter import emoji_extract
text_with_emojis = "Hello world! 👋 This is a test with some emojis: 😊👍🚀."
emojis = emoji_extract(text_with_emojis)
print(emojis)
This will output:
👋😊👍🚀
Features
- Extracts emoji characters from text using a predefined regex.
- Returns a string containing only the found emojis.
Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
License
emoji_getter is licensed under the MIT License.
Author
- Eugene Evstafev hi@eugene.plus
Repository: https://github.com/chigwell/emoji_getter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file emoji_getter-2025.9.1494.tar.gz.
File metadata
- Download URL: emoji_getter-2025.9.1494.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8512889ef2ee703def7701fac77f5e368908235c84e6a45c6b18d956a167f2c1
|
|
| MD5 |
d7c0a0de0d6af9f6d0b5f5d345197d16
|
|
| BLAKE2b-256 |
6e26442e7a9efee2bb890bf569dc9ed942c7676a5992e7cd269f829415a4bca4
|
File details
Details for the file emoji_getter-2025.9.1494-py3-none-any.whl.
File metadata
- Download URL: emoji_getter-2025.9.1494-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6aff25e187c05a0265c629ff12de3baf1d5c3a07f0ddd6826b9c12561e5f3c5
|
|
| MD5 |
88ca25f6b93cdc744f12140e66fb7606
|
|
| BLAKE2b-256 |
ece12bd3ce7e2845d793dd21a92265b3e0009d1e5f59bbc176ac8dc7c37efcd0
|