resvg_py
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | resvg_py-0.5.0 |
| نام | resvg_py |
| نسخه کتابخانه | 0.5.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | baseplate-admin <61817579+baseplate-admin@users.noreply.github.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/resvg_py/ |
| مجوز | - |
# resvg_py
[](https://pepy.tech/project/resvg_py) [](https://github.com/baseplate-admin/resvg-py/actions/workflows/CI.yaml) [](https://resvg-py.readthedocs.io/en/latest/?badge=latest) [](https://pypi.org/project/resvg-py/)
A safe and high level binding for the [resvg](https://github.com/RazrFalcon/resvg) project
## Install
```py
pip install resvg_py
```
Then use it like this:
```python
import resvg_py
svg_string = """
<svg width="300" height="130" xmlns="http://www.w3.org/2000/svg">
<rect width="200" height="100" x="10" y="10" rx="20" ry="20" fill="blue" />
</svg>
"""
print(resvg_py.svg_to_bytes(svg_string=svg_string))
```
(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)
## Requires
- Python 3.10 or higher
---
This library is feature complete in my opinion.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl resvg_py-0.5.0:
pip install resvg_py.whl
نصب پکیج tar.gz resvg_py-0.5.0:
pip install resvg_py.tar.gz