semvec/pypi-packages huggingface dataset:
livelogs 0.1.6
A live log streaming application
License: MIT
Requires Python: <4.0,>=3.8
Keywords: log, logs, livelogs

# LiveLogs

## Overview

**LiveLogs** is a real-time log streaming application designed to monitor and stream log files dynamically. It leverages Flask and SocketIO for web application and real-time communication, and uses Eventlet for asynchronous processing. The application allows users to observe log file changes live, making it ideal for monitoring applications, debugging, and operational insights.

## Features

- **Real-Time Log Updates**: Monitor log files as they are updated in real-time.
- **Configurable Log File Path**: Specify the path to the log file you want to monitor.
- **Integration with Flask**: Easily integrates with existing Flask applications.
- **SocketIO Support**: Uses SocketIO for real-time communication between the server and clients.
- **Asynchronous Processing**: Uses Eventlet for handling concurrent operations efficiently.

## Installation

To install **LiveLogs**, you can use Poetry, a Python dependency manager:

```bash
poetry add livelogs
```

Or if you're using `pip`, you can install it from PyPI (if published) or directly from the repository:

```bash
pip install livelogs
```

## Usage

1. **Command-Line Arguments**: Run the application with command-line arguments to specify the log file and configuration options.

```bash
livelogs <path_to_log_file> [--name APP_NAME] [--port PORT] [--host HOST] [--debug]
```

- `<path_to_log_file>`: Path to the log file to monitor.
- `--name APP_NAME`: Name of the app to display in the header (default: `App`).
- `--port PORT`: Port to run the app on (default: `5000`).
- `--host HOST`: Host to run the app on (default: `0.0.0.0`).
- `--debug`: Enable debug mode.

2. **Running the Application**:

To run the application, use the command:

```bash
livelogs /path/to/your/logfile.log
```

This will start the LiveLogs application and begin streaming the specified log file.

## Configuration

You can configure the application by modifying the `app` instance in `livelogs/app.py`. The configuration includes:

- **SECRET_KEY**: Secret key for session management.
- **DEBUG**: Enable or disable debug mode.

## Development

To contribute to **LiveLogs**, clone the repository and set up your development environment:

```bash
git clone https://github.com/destinedcodes/livelogs.git
cd livelogs
poetry install
```

Run tests using:

```bash
poetry run pytest
```

## License

**LiveLogs** is licensed under the [MIT License](LICENSE).

## Links

- [Homepage](https://github.com/destinedcodes/livelogs)
- [Issues](https://github.com/destinedcodes/livelogs/issues)
pinkman 0.1.7
An SMTP Server to forward Messages into A Backend System.
License: MIT

.. image:: https://img.shields.io/pypi/v/Pinkman.svg
    :alt: PyPI-Server
    :target: https://pypi.org/project/Pinkman/
.. image:: https://github.com/Norwik/Pinkman/actions/workflows/ci.yml/badge.svg
    :alt: Build Status
    :target: https://github.com/Norwik/Pinkman/actions/workflows/ci.yml

|

=======
Pinkman
=======

To use pinkman, follow the following steps:

1. Create a python virtual environment or use system wide environment

.. code-block::

    $ python3 -m venv venv
    $ source venv/bin/activate


2. Install pinkman package with pip.

.. code-block::

    $ pip install pinkman


3. Create the config file.

.. code-block::

    server:
      hostname: localhost
      port: 1025

    cache:
      type: sqlite
      path: /tmp/pinkman.db

    backend:
      type: http
      method: post
      url: https://pinkman.free.beeceptor.com
      apikey: 5ab99869-f403-4481-bed6-da7c8aad7521


4. Run the pinkman server.

.. code-block::

    $ pinkman server run -c /etc/config.pinkman.prod.yml


5. Run the pinkman worker.

.. code-block::

    $ pinkman worker run -c /etc/config.pinkman.prod.yml


6. Forward packets from port 1025 to port 25.

.. code-block::

    $ iptables -t nat -A PREROUTING -p tcp --dport 1025 -j REDIRECT --to-port 25
blank-template 0.0.9
blank python project
License: MIT
Requires Python: >=3.11
Keywords: template

# blank-template
[![build](https://github.com/CCedricYoung/blank-template/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/CCedricYoung/blank-template/actions/workflows/build.yml)

some blank template for creating a python project with rye and publish as a library
mirapolis-virtualroom 0.2.9
Python API Client for Mirapolis VirtualRoom. Based on original documentation. Uses Pydantic and aiohttp.
License: MIT
Requires Python: <4.0,>=3.12
Keywords: mirapolis, virtualroom

# Python-клиент для Mirapolis Virtualroom

## Клиент находится в разработке!

### Особенности

Клиент полностью асинхронный с поддержкой валидации Pydantic. Требуется Python 3.12 или выше. Основан на `aiohttp` и `pydantic`.
> Сделан на основе [официальной документации](https://support.mirapolis.ru/mira-support/#&step=1&name=%5B01004%5D%5BИнструкция%5D%5BОписание+API%5D%5BUSER%5D%5BF%5D%5B2_44%5D&doaction=Go&s=IZ8RV4AEFDzTTMKY9PgS&id=69&type=mediapreview).

### Установка

```console
$ pip install mirapolis-virtualroom
```

### Использование
```Python
from mirapolis_virtualroom.virtualroom_api import VirtualRoom
import asyncio
import logging


# Инициализация клиента
mirapolis_api = VirtualRoom(
    app_id="test",
    secret_key="secret_key",
    base_link="https://v1234.vr.mirapolis.ru/mira"
)


async def main():
    # Получение списка мероприятий
    measures = await mirapolis_api.get_measures(
        limit=10, # Количество на одной странице
        offset=40, # Сдвиг страницы
    )
    for measure in measures:
        # Полный вывод
        print(repr(measure))
        # Краткий вывод (строка)
        print(measure)
        # Получение названия
        print(measure.mename)
    # Получение общего количества мероприятий
    print(f"{measures.count=}")


if __name__ == '__main__':
    logging.basicConfig(level="INFO")
    asyncio.run(main())
```