idk if someone already did this or not
i made a small library to encode and decode bottom using the official bottom spec
import the module
import bottom
encode some utf-8 string
>>> bottom.encode("hello")
"ππ,,,,ππππ,πππππ₯Ί,,,πππππ₯Ί,,,ππππβ¨,ππ"
decode the bottom string into utf-8
>>> bottom.decode(encoded)
"hello"