Metadata-Version: 2.1
Name: pglet
Version: 0.6.0
Summary: Pglet client for Python - easily build interactive web apps in Python
License: MIT
Author-email: Appveyor Systems Inc. <hello@pglet.io>
Requires-Python: >=3.7
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: beartype>=0.9.1
Requires-Dist: typing_extensions; python_version < "3.8"
Requires-Dist: websocket-client>=1.2.1
Project-URL: documentation, https://pglet.io/docs/
Project-URL: repository, https://github.com/pglet/pglet-python
Description-Content-Type: text/markdown

# 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:

![Sample app in a browser](https://pglet.io/img/docs/quickstart-hello-world.png "Sample app in a browser")

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).
