{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/weasyprint/","markdown":"https://findsoftware.frbit.cloud/weasyprint.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"weasyprint","name":"WeasyPrint","urls":{"home":"https://weasyprint.org","repository":"https://github.com/Kozea/WeasyPrint","docs":"https://doc.courtbouillon.org/weasyprint/stable/"},"category":["media"],"description":"Python library and command-line tool that renders HTML and CSS pages to PDF documents.","maintainer":"Elycoop − SCOP SA","maintainerType":"company","firstRelease":2011,"hosting":["python"],"language":"python","runtime":["python"],"runtimeMin":"python 3.10","contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"renderingModes":null,"installMethod":"pip, Homebrew, Linux distribution package, Windows executable","licenseModel":"open-source","license":"BSD-3-Clause","currentMajor":"70","latestReleaseDate":"2026-09-08T00:00:00.000Z","githubStargazers":9795,"contributors":169,"packagistDownloads":null,"npmWeeklyDownloads":null,"dependentRepos":1344,"dependentPackages":114,"social":{"mastodon":"https://fosstodon.org/@courtbouillon"},"checkedAt":"2026-11-17T00:00:00.000Z","addedAt":"2026-11-17T00:00:00.000Z","sources":[{"field":"urls","url":"https://weasyprint.org/","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/Kozea/WeasyPrint","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"urls","url":"https://github.com/Kozea/WeasyPrint/blob/main/README.rst","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"category","url":"https://weasyprint.org/","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/Kozea/WeasyPrint","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"runtime","url":"https://github.com/Kozea/WeasyPrint/blob/v70.0/README.rst","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"runtimeMin","url":"https://pypi.org/pypi/weasyprint/json","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"installMethod","url":"https://doc.courtbouillon.org/weasyprint/stable/first_steps.html","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"installMethod","url":"https://doc.courtbouillon.org/weasyprint/stable/first_steps.html","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"installMethod","url":"https://doc.courtbouillon.org/weasyprint/stable/first_steps.html","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"installMethod","url":"https://doc.courtbouillon.org/weasyprint/stable/first_steps.html","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/Kozea/WeasyPrint","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"maintainer","url":"https://www.courtbouillon.org/legal/","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"firstRelease","url":"https://pypi.org/pypi/weasyprint/json","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/Kozea/WeasyPrint/releases","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/Kozea/WeasyPrint/releases","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/Kozea/WeasyPrint","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/Kozea/WeasyPrint/contributors","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/weasyprint","checkedAt":"2026-11-17T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/weasyprint","checkedAt":"2026-11-17T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"WeasyPrint turns HTML and CSS into PDF documents. Its layout engine is written in Python and designed for pagination, and it does not use a full browser engine. A web application calls it from Python to produce a PDF from a page, and the `weasyprint` command does the same from the shell.\n\nWeasyPrint needs Pango, a text-layout system library, next to the Python package. The [installation guide](https://doc.courtbouillon.org/weasyprint/stable/first_steps.html) lists the platforms and their packages. The documentation's \"Why WeasyPrint?\" section names wkhtmltopdf as one of the projects that add paged-media features to existing browsers.\n\n## Worth knowing\n\nThe docs warn that untrusted HTML or CSS can cause high memory use, endless renderings or access to local files, and advise running the service as a user with limited access or in a container. WeasyPrint can take a long time to render long documents. For many documents, the docs suggest the Python API in long-lived processes to avoid start-up costs on every run."}