semvec/pypi-packages huggingface dataset:
io-connect 1.7.1
io connect library
License: MIT
Requires Python: >=3.9

# io_connect
`io_connect` is a Python package designed for system monitoring and data management. It includes components for handling alerts, MQTT messaging, data access, and event management.


## Components

### Alerts Handler

The `AlertsHandler` class is a critical component for system monitoring and maintenance. It enables the seamless dissemination of alerts through email and Microsoft Teams, ensuring timely and effective communication of important notifications.

#### Features
- **Email Alerts**: Send alerts directly to email addresses.
- **Microsoft Teams Notifications**: Integrate with Microsoft Teams for notifications.
  
### MQTT Handler

The `MQTTHandler` class provides an interface for publishing data to an MQTT broker. It supports reliable and efficient message sending, whether you're transmitting individual payloads or managing data streams.

#### Features
- **Flexible Publishing**: Send single or multiple messages.
- **Reliable Transmission**: Ensure data reaches its destination reliably.

### Data Access

The `DataAccess` class offers a comprehensive set of methods for various data retrieval tasks. It supports operations such as retrieving device metadata and querying databases for precise information, optimizing data access workflows.

#### Features
- **Device Metadata Retrieval**: Access information about devices.
- **Database Queries**: Perform queries for accurate data retrieval.

### Events Handler

The `EventsHandler` class provides a versatile interface for interacting with an API dedicated to event and notification management. It facilitates event publishing, data retrieval, category fetching, and event analysis.

#### Features
- **Event Publishing**: Publish events efficiently.
- **Data Retrieval**: Retrieve event data within specified intervals.
- **Category Fetching**: Get detailed event categories.
- **Event Analysis**: Analyze events comprehensively.

## Installation

To install `io_connect`, you can use pip:

```bash
pip install io_connect 
```


## Documentation
[Documentation](https://wiki.iosense.io/en/Data_Science/io-connect)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.


# Reach us
For usage questions, please reach out to us at reachus@faclon.com
prismatui 0.3.2
A TUI framework based on the idea of "multi-layered transparency" composition.
License: MIT
Requires Python: >=3.10
Keywords: tui terminal user interface transparency layers layered curses

# PRISMA TUI
**Prisma TUI** (Python teRminal graphIcS with Multilayered trAnsparency) is a Python framework for building composable Terminal User Interfaces (TUIs). The `Terminal` class serves as a wrapper for terminal backends (e.g. curses) while providing a customizable application loop. Flexible layouts can be arranged by creating a hierarchy of `Section` class instances. Complex displays can be composed by

**Prisma** is built around the idea of *multilayered transparency*, which consists in overlaying different "layers" of text on top of each other and merging them together to compose more complex displays (think of stacking together images with transparency). This can be achieved by using the `Layer` class. **Prisma** also provides advanced color management, allowing to write and read multi-colored layers from its own custom **PAL** (*PALette*, JSON with color pair values) and **PRI** (*PRisma Image*, binary with the chars and the respective color pairs to form an image) formats.

<p align="center">
  <img src="logo.png" alt="Prisma TUI Logo" width="200"/><br>
  <i>Prisma, the cat</i>, as rendered by prismatui.
</p>


<!-- ----------------------------------------------------------------------- -->
## QuickStart
### Run Demo
```
pip install prismatui
python3 demos/layouts.py
```

## Code Example
```python
import prismatui as pr

class MyTUI(pr.Terminal):
    def on_start(self):
        pr.init_pair(1, pr.COLOR_BLACK, pr.COLOR_CYAN)

    def on_update(self):
        self.draw_text('c', 'c', "Hello, pr!", pr.A_BOLD)
        self.draw_text("c+1", 'c', f"Key pressed: {self.key}", pr.A_BOLD)
        self.draw_text('b', 'l', "Press q to exit", pr.get_color_pair(1))

    def should_stop(self):
        return self.key in (pr.KEY_Q_LOWER, pr.KEY_Q_UPPER)

if __name__ == "__main__":
    MyTUI().run()
```


<!-- ----------------------------------------------------------------------- -->
## Demos
See the [`demos/`](demos/) folder for example applications:
- [`images.py`](demos/images.py): Image rendered from a pair of PRI and PAL files.
- [`layouts.py`](demos/layouts.py): Example of a complex layout built using different Section techniques.
- [`movement.py`](demos/movement.py): Example of an application in no-delay mode.
- [`keys.py`](demos/keys.py): Simple "hello world" example.


<!-- ----------------------------------------------------------------------- -->