📚 Ultimate Emoji Generator library for Python
- Python 3.10 ~ 3.14
- C++20 Compiler
We officially support building and running on these platforms below, but you can try it on other platforms.
- macOS 26 Tahoe (arm64)
- Ubuntu 24.04 (x86_64)
$ pip install emojilib --extra-index-url https://repo.fury.io/emoji-gen/
import emojilib
def main():
data = emojilib.generate(text="ab\nc.", width=128, height=128)
with open('emoji.png', 'wb') as f:
f.write(data)
if __name__ == '__main__':
main()First, please build externals. See also libemoji's README.
$ git submodule update --init --recursive
$ cd externals/libemoji
$ cmake .
$ make
$ python -m venv venv
$ . venv/bin/activate
$ python setup.py build
$ pip install --group dev
$ pytest
Update the version in pyproject.toml to the version you want to release.
Then, manually trigger the build_and_publish.yml workflow via the workflow_dispatch event to create a release.
MIT © Emoji Generator