semvec/pypi-packages huggingface dataset:
async-pushover-client 0.1.0
a set of methods for working with PushOver
Requires Python: >=3.8

# async_pushover_client

Проект представляет собой набор синхронных и асинхронных методов для работы с [API PushOver ](https://pushover.net/api)

## Установка

```bash
pip install async_pushover_client
```

## Использование


Создайте _.env_ файл, и поместите туда переменные
```
PUSHOVER_DEVICE_ID=ВАШ ИД устройства, если его нет зарегистрируется автоматически
PUSHOVER_EMAIL_USERNAME=email аккаунта
PUSHOVER_PASSWORD=пароль аккаунта
```
Или создайте файл _auth_data.json_ и положите его в корень проекта.
```json
{"email": "example@example.com", 
  "password": "password", 
  "secret": "secret", "device_id": "device_id"}
```
После первого успешного запуска worker файл создастся автоматически, вы так же можете вызвать метод
```python
from async_pushover_client.main import OpenAPI
from async_pushover_client.settings import DEVICE_ID, PASSWORD, EMAIL_USERNAME

api = OpenAPI(email=EMAIL_USERNAME,
              password=PASSWORD,
              device_id=DEVICE_ID)
api.launch_preparation() 
# ИЛИ его асинхронное представление a_launch_preparation()

```
Для того, что бы запустить асинхронный worker достаточно переопределить метод _receiver_messages_, или метод
_on_message_, если вы хотите работать с сырыми данными.

```python
from async_pushover_client.worker import WSClientPushOver
from async_websocket_client.apps import AsyncWebSocketApp


class MyTestCase(WSClientPushOver):
    async def receiver_messages(self, message: dict):
        print(self.messages)
        print(message)


client = AsyncWebSocketApp('wss://client.pushover.net/push', MyTestCase())
client.asyncio_run()
```

Метод получает _message_, у которого есть все данные представляемые API PushOver.
Далее примените фантазию, и решите что вы сделаете c _message_, который будет хранить в себе одно сообщение,
или _self.messages_, хранящий в себе не полученные сообщения на момент, пока worker не работал.

Вы так же можете поработать с методами получения и удаления сообщений, без использования WebSocket.
Для этого достаточно импортировать класс _**OpenAPI**_

```python
from async_pushover_client.main import OpenAPI
from async_pushover_client.settings import DEVICE_ID, PASSWORD, EMAIL_USERNAME

api = OpenAPI(email=EMAIL_USERNAME,
              password=PASSWORD,
              device_id=DEVICE_ID)
messages = api.receiving_notifications()
print(messages)

```
etl-history 0.2.5
A Python package for ETL history management

# ETL History

<!-- [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/yourusername/etl-history/blob/main/LICENSE) -->

**ETL History** is a Python package designed to capture the history of data transfers between databases. It records when and what data was transferred from one database to another, tracking changes in each column and table.

## Features

- **Automatic History Logging**: Automatically captures the history of data transfers for all tables and columns.
- **Timestamp Recording**: Records the exact time and date of each data transfer event.
- **Detailed Change Tracking**: Keeps track of what data was added, updated, or deleted during each transfer.
- **Customizable Configuration**: Offers configuration options to tailor the history capture to your specific needs.

## Installation

You can install ETL History using `pip`:

```bash
pip install etl-history
ewatercycle-lisflood 0.0.1
eWaterCycle plugin for LISFLOOD hydrological model
Keywords: ewatercycle,hydrology

# eWaterCycle plugin for LISFLOOD hydrological model

[![Research Software Directory Badge](https://img.shields.io/badge/rsd-00a3e3.svg)](https://www.research-software.nl/software/ewatercycle-lisflood)

LISFLOOD plugin for [eWatercycle](https://ewatercycle.readthedocs.io/).

LISFLOOD documentation at http://www.smhi.net/lisflood/wiki/doku.php .

## Installation

eWaterCycle must be installed in a [mamba](https://conda-forge.org/miniforge/) environment. The environment can be created with

```console
wget https://raw.githubusercontent.com/eWaterCycle/ewatercycle/main/environment.yml
mamba env create --name ewatercycle-lisflood --file environment.yml
conda activate ewatercycle-lisflood
```

Install this package alongside your eWaterCycle installation

```console
pip install ewatercycle-lisflood
```

Then Lisflood becomes available as one of the eWaterCycle models

```python
from ewatercycle.models import Lisflood
```

## Usage

Usage of LISFLOOD forcing generation and model execution is shown in
[docs/generate_forcing.ipynb](https://github.com/eWaterCycle/ewatercycle-lisflood/tree/main/docs/generate_forcing.ipynb) and [docs/model.ipynb](https://github.com/eWaterCycle/ewatercycle-lisflood/tree/main/docs/model.ipynb) respectively.

## License

`ewatercycle-lisflood` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.
ewatercycle-hype 0.0.1
eWaterCycle plugin for HYPE hydrological model
Keywords: ewatercycle,hydrology

# eWaterCycle plugin for HYPE hydrological model

[![Research Software Directory Badge](https://img.shields.io/badge/rsd-00a3e3.svg)](https://www.research-software.nl/software/ewatercycle-hype)

HYPE plugin for [eWatercycle](https://ewatercycle.readthedocs.io/).

HYPE documentation at http://www.smhi.net/hype/wiki/doku.php .

## Installation

eWaterCycle must be installed in a [mamba](https://conda-forge.org/miniforge/) environment. The environment can be created with

```console
wget https://raw.githubusercontent.com/eWaterCycle/ewatercycle/main/environment.yml
mamba env create --name ewatercycle-hype --file environment.yml
conda activate ewatercycle-hype
```

Install this package alongside your eWaterCycle installation

```console
pip install ewatercycle-hype
```

Then Hype becomes available as one of the eWaterCycle models

```python
from ewatercycle.models import Hype
```

## Usage

Usage of HYPE forcing generation and model execution is shown in 
[docs/generate_forcing.ipynb](https://github.com/eWaterCycle/ewatercycle-hype/tree/main/docs/generate_forcing.ipynb) and [docs/model.ipynb](https://github.com/eWaterCycle/ewatercycle-hype/tree/main/docs/model.ipynb) respectively.

## License

`ewatercycle-hype` is distributed under the terms of the [Apache-2.0](https://spdx.org/licenses/Apache-2.0.html) license.