semvec/pypi-packages huggingface dataset:
melcloudlibasyncio 1.1.1
A async client for interacting with the MELCloud API
License: MIT
Requires Python: <4.0,>=3.8

# Project Name: asyncio-melcloud-lib

## Description:
This project is a Python library that provides an asynchronous interface for interacting with the MelCloud API. It allows users to control and monitor Mitsubishi Electric air conditioning units remotely using asyncio.

## Features:
- Asynchronous API calls for improved performance and responsiveness.
- Support for authentication and authorization with the MelCloud API.
- Ability to control and monitor multiple air conditioning units.
- Comprehensive documentation and examples for easy integration.

## Installation:
To install the asyncio-melcloud-lib library, simply run the following command:

```
pip install melcloudlibasyncio
```

## Usage:
To get started with the asyncio-melcloud-lib library, import it into your Python project:

```python
import melcloudlibasyncio
```

Then, create an instance of the `MelCloudClient` class and authenticate with your MelCloud credentials:

```python
client = melcloudlibasyncio.MelCloudClient(username='your_username', password='your_password')
await client.login()
```

Once authenticated, you can use the various methods provided by the library to control and monitor your air conditioning units.

## Examples:
Here are a few examples to help you get started:

- Get a list of all available devices:

```python
devices = await client.get_devices()
```

- Set the temperature of a specific device:

```python
await client.set_temp(device_id='device_id', temperature=22)
```

- Example of complete code (Login and turns off the device):

```python
import asyncio
from lib.melcloud.devices import Device
from lib.melcloud.melcloudclient import MelcloudClient
from lib.melcloud.jsongenerator import OperationMode
import logging

basicConfig = logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')


client = MelcloudClient("your_undername", "your_password")

async def main():
    logging.debug(await client.login())
    await client.get_devices()
    await client.set_device_settings()
    for device in client.devices:
       await client.change_power_state(device.device_id, "true") # <---- set this to false to turn off the device
    await client.close()

if __name__ == "__main__":
    asyncio.run(main())
```

For more examples and detailed documentation, please refer to the [official documentation](https://github.com/your_username/asyncio-melcloud-lib).

## Contributing:
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request on the [GitHub repository](https://github.com/v0nNemizez/asyncio-melcloud-lib).

## License:
This project is licensed under the MIT License. See the [LICENSE](https://github.com/v0nNemizez/asyncio-melcloud-lib/blob/main/LICENSE) file for more information.
pofile-cli 0.1.0
A CLI tool to translate PO files using https://pofile.io/.
License: MIT
Requires Python: >=3.6

# CLI for POFile.io

An easy-to-use CLI tool for translating PO files with POFile.io.

## Description

This CLI tool automatically locates `.po` files in your project and fills in missing translations using the POFile.io API service. It's designed to streamline the process of managing translations in software projects.

## Getting Started

### Prerequisites

- Python 3.7 or later

### Installation

1. Activate your project's virtual environment.
2. Install the CLI with:

    ```bash
    pip install pofile-cli
    ```

   This will make the `pofile` command available.

3. Create an account at [POFile.io](https://pofile.io), log in, and copy your API key from the dashboard.

4. Set your API key by exporting it as an environment variable (recommended) or passing it directly with each command:

    ```bash
    export POFILE_API_KEY=<your_api_key>
    ```

### Usage

To populate all `.po` files in the current project with translations, use:

```bash
pofile populate
```

#### Additional Options

**Specify a Directory:** To search for .po files in a specific directory, provide the path:

```bash
pofile populate <directory>
```

**Set Maximum Directory Depth:** Control how deep the tool searches within nested directories:

```bash
pofile populate --dir-depth <depth>
```

**Skip Confirmation Prompt:** Automatically proceed without a confirmation prompt:

```bash
pofile populate -y
```

**Use an API Key Directly:** If you prefer not to use an environment variable, you can specify your API key:

```bash
pofile populate --api-key <your_api_key>
```

## Version History

* 0.1
    * Initial Release

## License

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