Skip to content

Commit b79f05d

Browse files
committed
Update README.md
1 parent 25c0773 commit b79f05d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

libs/pythonnative/README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# PythonNative
2+
3+
PythonNative is a cross-platform UI toolkit for Python. It allows you to create native UI elements such as buttons and labels in a Pythonic way, regardless of whether you're running on iOS or Android.
4+
5+
## Installation
6+
7+
You can install PythonNative from PyPI:
8+
9+
```bash
10+
pip install pythonnative
11+
```
12+
13+
Please note that PythonNative requires Python 3.6 or higher.
14+
15+
## Usage
16+
17+
Here's a simple example of how to create a button and a label:
18+
19+
```python
20+
import pythonnative as pn
21+
22+
# Create a button
23+
button = pn.Button("Click Me")
24+
print(button.get_title()) # Outputs: Click Me
25+
26+
# Create a label
27+
label = pn.Label("Hello, World!")
28+
print(label.get_text()) # Outputs: Hello, World!
29+
```
30+
31+
## License
32+
33+
PythonNative is licensed under the MIT License. See `LICENSE` for more information.

0 commit comments

Comments
 (0)