{"library":"weasyprint","install":[{"cmd":"pip install weasyprint","imports":["from weasyprint import HTML","from weasyprint import HTML, CSS","from weasyprint import default_url_fetcher"]},{"cmd":"sudo apt install weasyprint","imports":[]},{"cmd":"brew install python pango libffi\npip install weasyprint","imports":[]},{"cmd":"Follow the official documentation for GTK+ installation using MSYS2, then: pip install weasyprint","imports":[]}]}