Metadata-Version: 2.1
Name: brython-components
Version: 0.1.2
Summary: Brython-components is an easy implementation of brython's webcomonent
License: MIT
Keywords: brython,Development,webcomponents
Author: Lorenzo A. Garcia Calzadilla
Author-email: lorenzogarciacalzadilla@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation
Classifier: Topic :: Software Development
Description-Content-Type: text/markdown

# 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/)

