faicons-0.2.2
توضیحات
An interface to Font-Awesome for use in Shiny.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | faicons-0.2.2 |
| نام | faicons |
| نسخه کتابخانه | 0.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Carson Sievert |
| ایمیل نویسنده | carson@rstudio.com |
| آدرس صفحه اصلی | https://github.com/rstudio/py-faicons |
| آدرس اینترنتی | https://pypi.org/project/faicons/ |
| مجوز | MIT |
# Font Awesome for Shiny
An interface to [Font-Awesome](https://fontawesome.com/) for use in Shiny for Python.
This package currently uses Font-Awesome 6.2.0.
## Installation
```python
pip install faicons
```
## Usage
Use `icon_svg()` to get an `<svg>` representation of the icon.
```python
from faicons import icon_svg
icon_svg("play")
```
Example usage in Shiny:
```python
from shiny import ui
ui.input_action_button("btn", "Press me", icon=icon_svg("play")).show()
```
نیازمندی
| مقدار | نام |
|---|---|
| =0.1.4.900 | htmltools |
| =23.1. | black |
| - | wheel |
| =3.9. | flake8 |
| =6.0. | flake8 |
| =6.2. | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl faicons-0.2.2:
pip install faicons-0.2.2.whl
نصب پکیج tar.gz faicons-0.2.2:
pip install faicons-0.2.2.tar.gz