Skip to main content

This library is a collection of widgets that supported from blessed

Project description

# Tebless
This library is a collection of widgets that supported from blessed allows to create interfaces in a simple way based on events.

## Install

```bash
pip install tebless
```

## Example
This will render a label containing the text 'Hello world!', centered horizontally and vertically.

```python
from tebless.widgets import Label, Window

@Window.decorator
def view(window):
WIDTH, HEIGHT = window.size
window += Label(
cordy=HEIGHT / 2 - 1,
text='Hello world!',
width=WIDTH,
align='center'
)

if __name__ == '__main__':
view()
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tebless-1.1.1.dev3.tar.gz (12.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page