This script creates simple stickers (smaller or equal to 512x512 pixels for Telegram) composed with chemical elements' symbols.
Here are some example packs, with mostly Italian words.
Example:
# Create an image displaying Borum, Ruthenium and Hydrogen symbols
./kekmicals.py --style border BRuHOutput:
You can also use multiple words. The script will break them:
./kekmicals.py BeH CHe DyRe Output:
You can cache all of the 119 elements with --create:
./kekmicals.py --create # Default borderless theme
./kekmicals.py --create border
./kekmicals.py --create swapThis will create elements' symbols' images inside cache/.
You may want to test if you are able to compose a sentence without creating an output image. You can use --test:
./kekmicals.py --test KeK # This will raise an error, because "Ke" is not a valid elementThanks to Bowserinator for PeriodicTableJSON.json.
This script uses Pillow.

