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.

Files for tebless, version 1.1.1.dev3
Filename, size File type Python version Upload date Hashes
Filename, size tebless-1.1.1.dev3.tar.gz (12.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page