semvec/pypi-packages huggingface dataset:
heatdiffs 0.1.0
A package for image processing using the heat semigroup.
Requires Python: >=3.10

# Heatdiff

The aim of this initial release is to demonstrate how the heat semigroup can be used as a lossy compression tool for image processing, in particular, for image corruption and restoration.  

We also demonstrate that the heat semigroup can be used for image compression, via its use as a kernel in a weighted K-Means algorithm.

In addition, we will demonstrate that explicit diffusion equations can also be used as lossy compression for images. One can view this method as a 'learning free' denoising diffusion model. We replicate the experiments for the heat semigroup with diffusion equations, using their appropriate analogues. 

In the future, we aim to investigate further topics such as: regularised image restoration; lossless compression; and the integration of machine learning tools amongst others.

# Installation

```bash
pip install heatdiff
```

# Examples

The following notebooks demonstrate the most relevant features:

- [Heat Semigroup](notebooks/semigroup_demo.ipynb)
- [Diffusion Process](notebooks/diffusion_demo.ipynb)
prompt-llm 0.1.4
A CLI tool to prompt LLMs by reego.software
Requires Python: >=3.8

# prompt_llm

## Version
0.1.4

- Prompt LLMs via cli

## Installation

1. Clone the repo

2. Install
- Local:
    - `pip install --editable .`
- PyPi:
    - `pip install prompt_llm`

3. Install auto-completion:
- `prompt_llm --install-completion`
- `source ~/.bashrc`

## Config:
- Supported configs: `--api-key`, `--model`, `--system`, `--temperature`

### Set Config
- `prompt_llm config_add  --api-key "<api_key>" --system "<system_messgae>" --temperature <temperature>`

### Save current config to a profile
- `prompt_llm config_save_to --profile="openai"`

### Load the config from a profile
- `prompt_llm config_load_from --profile="openai"`

### Remove Config key:
- `prompt_llm config-rm temperature`

### View Config:
- `prompt_llm config-ls`
- `prompt_llm config-ls --profile="openai"`

## Run cli
- `prompt_llm openai "Tell me something"`


## To contribute

### 1. Build project
`python -m build`

### 2. Upload
`python3 -m twine upload --repository pypi dist/* --verbose`