brother-ql
A Python package to control Brother QL label printers. It implements the raster language of those printers and allows you to send instruction files to your printer.(Summary from the program webpage.)
The official web page: https://pypi.org/project/brother_ql/