https://github.com/pglet/pglet-python
Python client for Pglet - build real-time interactive web apps in Python
https://github.com/pglet/pglet-python
Last synced: 5 months ago
JSON representation
Python client for Pglet - build real-time interactive web apps in Python
- Host: GitHub
- URL: https://github.com/pglet/pglet-python
- Owner: pglet
- License: mit
- Created: 2020-11-16T04:23:08.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-10-09T03:15:52.000Z (over 3 years ago)
- Last Synced: 2026-01-03T02:58:45.707Z (6 months ago)
- Language: Python
- Homepage:
- Size: 646 KB
- Stars: 19
- Watchers: 2
- Forks: 7
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://ci.appveyor.com/project/pglet/pglet-python/branch/main)
# Pglet - quickly build interactive web apps in Python
[Pglet](https://pglet.io) is a rich User Interface (UI) framework to quickly build interactive web apps in Python without prior knowledge of web technologies like HTTP, HTML, CSS or JavaSscript. You build UI with [controls](https://pglet.io/docs/reference/controls) which use [Fluent UI React](https://developer.microsoft.com/en-us/fluentui#/controls/web) to ensure your programs look cool and professional.
## Requirements
* Python 3.7 or above on Windows, Linux or macOS
## Installation
```
pip install pglet
```
## Hello, world!
```python
import pglet
from pglet import Text
p = pglet.page()
p.add(Text("Hello, world!"))
```
Run the sample above and a new browser window will pop up:

Continue with [Python tutorial](https://pglet.io/docs/tutorials/python) demonstrating how to build a simple To-Do web app and share it on the internet.
Browse for more [Pglet examples](https://github.com/pglet/examples/tree/main/python).
Join to a conversation on [Pglet Discord server](https://discord.gg/rWjf7xx).