Skip to content

Commit 7cd103a

Browse files
committed
Merge branch 'main' of https://github.com/laffra/ltk
2 parents efacb9f + d3bb39d commit 7cd103a

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ LTK is a little toolkit for writing UIs in PyScript. Take a look at the [LTK Kit
33

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

6+
## Installing LTK
7+
8+
Install LTK from pypi:
9+
```
10+
python3 -m pip install pyscript-ltk
11+
```
12+
## Hello World
13+
14+
```python
15+
import ltk
16+
17+
ltk.Text("Hello World").appendTo(ltk.body)
18+
```
19+
620
## Widget Specification
721

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

142156
# License
143157

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

0 commit comments

Comments
 (0)