{"id":16653721,"url":"https://github.com/baseplate-admin/resvg-py","last_synced_at":"2026-04-11T04:10:36.408Z","repository":{"id":224151822,"uuid":"762566657","full_name":"baseplate-admin/resvg-py","owner":"baseplate-admin","description":"High level wrapper of resvg in python","archived":false,"fork":false,"pushed_at":"2024-08-01T05:04:46.000Z","size":4062,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-07T10:12:15.890Z","etag":null,"topics":["maturin","pyo3","pypy","pytest","python","resvg","svg","svg-to-png","svg-to-png-converter"],"latest_commit_sha":null,"homepage":"https://resvg-py.readthedocs.io","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baseplate-admin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-24T04:23:26.000Z","updated_at":"2024-08-01T05:04:49.000Z","dependencies_parsed_at":"2024-02-24T05:24:26.401Z","dependency_job_id":"ab5f72b9-da67-4a26-8b34-c9af2c9636d6","html_url":"https://github.com/baseplate-admin/resvg-py","commit_stats":null,"previous_names":["baseplate-admin/resvg-py"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fresvg-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fresvg-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fresvg-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Fresvg-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baseplate-admin","download_url":"https://codeload.github.com/baseplate-admin/resvg-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221817029,"owners_count":16885449,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["maturin","pyo3","pypy","pytest","python","resvg","svg","svg-to-png","svg-to-png-converter"],"created_at":"2024-10-12T09:46:56.455Z","updated_at":"2026-04-11T04:10:36.378Z","avatar_url":"https://github.com/baseplate-admin.png","language":"Rust","funding_links":[],"categories":["python"],"sub_categories":[],"readme":"# resvg_py\r\n\r\n[![Downloads](https://static.pepy.tech/badge/resvg_py)](https://pepy.tech/project/resvg_py) [![CI](https://github.com/baseplate-admin/resvg-py/actions/workflows/CI.yaml/badge.svg?branch=master)](https://github.com/baseplate-admin/resvg-py/actions/workflows/CI.yaml) [![Documentation Status](https://readthedocs.org/projects/resvg-py/badge/?version=latest)](https://resvg-py.readthedocs.io/en/latest/?badge=latest) [![Pypi Badge](https://img.shields.io/pypi/v/resvg-py.svg)](https://pypi.org/project/resvg-py/)\r\n\r\nA safe and high level binding for the [resvg](https://github.com/RazrFalcon/resvg) project\r\n\r\n## Install\r\n\r\n```py\r\npip install resvg_py\r\n```\r\n\r\nThen use it like this:\r\n\r\n```python\r\n\r\nimport resvg_py\r\n\r\nsvg_string = \"\"\"\r\n    \u003csvg width=\"300\" height=\"130\" xmlns=\"http://www.w3.org/2000/svg\"\u003e\r\n      \u003crect width=\"200\" height=\"100\" x=\"10\" y=\"10\" rx=\"20\" ry=\"20\" fill=\"blue\" /\u003e\r\n    \u003c/svg\u003e\r\n\"\"\"\r\n\r\nprint(resvg_py.svg_to_bytes(svg_string=svg_string))\r\n\r\n```\r\n\r\n(if you have a complex use case, please check the [api](https://resvg-py.readthedocs.io/en/latest/resvg.html) or [usage](https://resvg-py.readthedocs.io/en/latest/usage.html). It mostly re-exposes everything of resvg)\r\n\r\n## Requires\r\n\r\n-   Python 3.10 or higher\r\n\r\n---\r\n\r\nThis library is feature complete in my opinion.\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaseplate-admin%2Fresvg-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaseplate-admin%2Fresvg-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaseplate-admin%2Fresvg-py/lists"}