Cairosvg

Latest version: v2.7.1

Safety actively analyzes 714860 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 10

0.4.1

Not secure
=====================================

* Use cssselect

0.4

Not secure
===================================

* Reliable testing suite
* Use tinycss instead of cssutils to parse CSS

0.3.1

Not secure
=====================================

* Percentages, em and ex units
* Real opacity

0.3

Not secure
===================================

* Simple inline CSS support
* Support for transformations in patterns and gradients
* Real by-surface DPI management (default value set to 96)
* Handle exponents

0.2

Not secure
===================================

* **Change the Python API again** to be compatible with 0.1.1 and before:
``svg2pdf(source_as_bytes) -> bytes`` but still support filenames or
file objects with keyword-only parameters. See the docstrings.
* Add support for ``display``, ``visibility``, ``stop-opacity`` and
``stroke-miterlimit``
* Internal refactoring

0.1.2

Not secure
=====================================

**Backward incompatible change** in the Python API: previously the input
could be either a filename or SVG content as a string. Now a string is always
interpreted as a filename, but file-like objects are also accepted.
Use a StringIO object if you have SVG content in a string.

Page 9 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.