Metadata-Version: 2.1
Name: twidge
Version: 1.1.2
Summary: Terminal Widgets.
Home-page: https://github.com/aidaco/twidge
License: MIT
Author: Aidan Courtney
Author-email: aidanfc97@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Dist: rich (>=13.2.0,<14.0.0)
Requires-Dist: typer (>=0.7.0,<0.8.0)
Project-URL: Repository, https://github.com/aidaco/twidge
Description-Content-Type: text/markdown


# Twidge

Simple terminal widgets for simple people.

This package is mostly intended for my own personal use, but have at it.


## Quick Start

#### Install

```sh
python -m pip install twidge
```

#### Echo Keypresses

```sh
python -m twidge echo
```

```python
from twidge.widgets import echo

echo.run()
```

#### Text Editor

```sh
python -m twidge edit 'Hello World'
```

```python
from twidge.widgets import editstr

content = editstr.run('Hello World!')
```

#### Dictionary Editor

```sh
python -m twidge editdict name,email,username,password
```

```python
from twidge.widgets import editdict

favorite_colors = {'Alice': 'red', 'Bob': 'blue'}
content = editdict.run(favorite_colors)
```

## Issues

Many - known and unknown. Issues welcome.

