semvec/pypi-packages huggingface dataset:
tahoma-gpt 0.0.8
This is a very easy API for controlling Somfy Tahoma's devices written in Python3, thanks to the pyoverkiz API. You just need a three-word input to control a device
Requires Python: >=3.7
Keywords: tahoma_gpt,somfy,api

# Tahoma-GPT

[UP TO DATE] tahoma_gpt is an add-on for [tahoma by pzim-devdata](https://github.com/pzim-devdata/tahoma/tree/main), designed to control Somfy Tahoma devices using ChatGPT and provide help with tahoma by pzim-devdata.

<p align="center" width="100%">
    <img width="15%" src="https://github.com/pzim-devdata/tahoma/blob/804c37ed0438e29c6ba28539fa254f351fcaa736/tahoma-gpt.png"> 
</p>

## Features

![Picture tahoma-gpt](https://github.com/pzim-devdata/tahoma/blob/main/picture_tahoma-gpt.png)

- Control Somfy Tahoma devices with a simple Python 3 API.
- Create scripts or shortcuts to control your house from a domestic server or your computer.
- Integrate Somfy's products with other Matter-compatible devices using this API.
- Works with Somfy Connectivity Kit, Connexoon, Cozytouch, and more.
- Supports various Somfy devices: alarm, shutter, plug, heater, sensors, scenes, and more.
- Compatible with Windows and Linux operating systems.
- Fully functional with ChatGPT.

## Easy Installation Process for Tahoma and Tahoma_GPT

### Install tahoma_gpt

```bash
pip install tahoma_gpt
```

### Configure tahoma

- Run `tahoma -c` to configure tahoma.
- Use `tahoma -g` to obtain further information. See the [tahoma PyPI project](https://pypi.org/project/tahoma/#description) for details.

### Modify tahoma_gpt.py

- Locate the tahoma_gpt.py file on your computer and modify it using a text editor.
- Replace the API key for OpenAI and adjust your model and parameters if necessary.

### Launch tahoma_gpt

- Run `tahoma_gpt` to start a conversation.
- Alternatively, you can execute commands as arguments, such as `tahoma_gpt could you please open the shutter in the kitchen?`.

By following these steps, Tahoma and Tahoma_GPT will be installed on your Linux or Windows system. 

For more information about tahoma.py, refer to the original Tahoma GitHub repository [here](https://github.com/pzim-devdata/tahoma#4-retrieve-your-personal-commands).

-------------------------------------------------------------------------------------

Supported Devices:

- Somfy Connectivity Kit
- Somfy Connexoon IO
- Somfy Connexoon RTS
- Somfy TaHoma
- Somfy TaHoma Beecon
- Somfy TaHoma Switch
- Thermor Cozytouch
- And more...

For additional supported devices, please inquire on the [Tahoma_GPT GitHub Issues](https://github.com/pzim-devdata/tahoma-gpt/issues) page.

<p align="center" width="100%">
    <img width="33%" src="https://avatars.githubusercontent.com/u/52496172?v=4"> 
</p>

------------------------------------------------------------------
code-to-text 0.2
Extracts and combines all code from a project into a markdown or txt file.
Requires Python: >=3.6

# Code to Text

A tool to extract all code from a project into a single markdown or text file. Useful for inputting code into large language models.

## Installation

Install the package using pip:

```shell
pip install code-to-text
```

Usage
Extract code from the current directory into a file named all_code.txt:

```shell
all_code
```

Specify a directory to extract code from and a file to write the code to:


```shell
all_code --dir_path path/to/my/directory --output_path my_output_file.txt
```

Specify the file extensions to consider as code files:

```shell
all_code --code-extensions py java js cpp c rb go rs

```


Specify the files and directories to exclude:

```shell
all_code --exclude-files init.py setup.py --exclude-dirs .git __pycache__ dist
```


By default, code_extractor uses a set of common code file extensions, excludes a list of common files (like __init__.py and setup.py), and excludes a list of common directories (like .git and __pycache__). These defaults are defined in main.py, and you can change them by editing the file. For example, to change the default code file extensions, edit the DEFAULT_CODE_EXTENSIONS variable:

```python
DEFAULT_CODE_EXTENSIONS = ['py', 'java', 'js', 'cpp', 'c', 'rb', 'go', 'rs']
```

To change the default files to exclude, edit the DEFAULT_EXCLUDE_FILES variable:

```python
DEFAULT_EXCLUDE_FILES = ['__init__.py', 'setup.py', 'README.md']
```

And to change the default directories to exclude, edit the DEFAULT_EXCLUDE_DIRS variable:

```python
DEFAULT_EXCLUDE_DIRS = ['.git', '__pycache__', 'dist']
```


Please remember to maintain good security practices and not edit or share the `main.py` file if it contains sensitive information.
pbokit 0.2.0
Fully-typed Arma 3 PBO extractor library
Requires Python: >=3.10

# PBOkit
Fully-typed Arma 3 PBO extractor library for Python 3.10 and up.
# Usage
## Load PBOkit
```python
import pbokit
```
## Read the contents of a PBO file
```python
pbo = pbokit.PBO.from_file("pbofile.pbo")
```
## Read a PBO file from bytes
```python
pbo = pbokit.PBO.from_bytes(b"bytes_go_here")
```
## Check if a file exists in the PBO
```python
pbo = pbokit.PBO.from_file("pbofile.pbo")
pbo.has_file("description.ext")
```
## Read the contents of a file in the PBO
### Binary Files
```python
pbo = pbokit.PBO.from_file("pbofile.pbo")
pbo["loadscreen.paa"].as_bytes()
```
### Text Files
```python
pbo = pbokit.PBO.from_file("pbofile.pbo")
pbo["description.ext"].as_str()
```
## Read header values from the PBO
```python
pbo = pbokit.PBO.from_file("pbofile.pbo")
pbo.headers["prefix"]
```