Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/laffra/ltk
Browse files Browse the repository at this point in the history
  • Loading branch information
laffra committed Nov 12, 2023
2 parents efacb9f + d3bb39d commit 7cd103a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ LTK is a little toolkit for writing UIs in PyScript. Take a look at the [LTK Kit

LTK is implemented as a declarative Python library and leverages `jQuery` for DOM operations.

## Installing LTK

Install LTK from pypi:
```
python3 -m pip install pyscript-ltk
```
## Hello World

```python
import ltk

ltk.Text("Hello World").appendTo(ltk.body)
```

## Widget Specification

New widget types are created by subclassing `ltk.Widget`:
Expand Down Expand Up @@ -141,4 +155,4 @@ twine upload dist/*

# License

_Microlog_ is released under version 1 of the [Server Side Public License (SSPL)](LICENSE).
_Microlog_ is released under version 1 of the [Server Side Public License (SSPL)](LICENSE).

0 comments on commit 7cd103a

Please sign in to comment.