brython-components-0.1.2
توضیحات
Brython-components is an easy implementation of brython's webcomonent
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | brython-components-0.1.2 |
| نام | brython-components |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Lorenzo A. Garcia Calzadilla |
| ایمیل نویسنده | lorenzogarciacalzadilla@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/brython-components/ |
| مجوز | MIT |
# Brython-components
Brython-components is an easy implementation of brython's webcomonent.
## Installation
Use the package manager [pip](https://pip.pypa.io/en/stable/) to install.
```bash
pip install brip
brip install brython-components
```
## Usage
'''python
from brython_components impoprt defineElement, customElement
@defineElement("bold-italic")
class BoldItalic(customElement):
def connectedCallback(self):
super().connectedCallback()
print("connected callback", self)
def render(self):
return f"<b><i>{self.attrs['data-val']}</i></b>"
'''
## License
[MIT](https://choosealicense.com/licenses/mit/)
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9,<4.0 | Python |
نحوه نصب
نصب پکیج whl brython-components-0.1.2:
pip install brython-components-0.1.2.whl
نصب پکیج tar.gz brython-components-0.1.2:
pip install brython-components-0.1.2.tar.gz