semvec/pypi-packages huggingface dataset:
aireview 1.4
AI-powered code review tool for Git repositories
Requires Python: >=3.8

# AIReview

[![PyPI](https://img.shields.io/pypi/v/aireview.svg)](https://pypi.org/project/aireview/)
[![Changelog](https://img.shields.io/github/v/release/setkyar/ai-review?include_prereleases&label=changelog)](https://github.com/setkyar/ai-review/releases)
[![Tests](https://github.com/setkyar/ai-review/actions/workflows/test.yml/badge.svg)](https://github.com/setkyar/ai-review/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/setkyar/ai-review/graph/badge.svg?token=RNWN1A9D8J)](https://codecov.io/gh/setkyar/ai-review)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/setkyar/ai-review/blob/master/LICENSE)

AIReview is a command-line tool that leverages LLM to provide code reviews for your Git changes.

## Features

- Automatic detection of Git changes
- AI-powered code review using OpenAI's GPT models
- Customizable review prompts and project context
- Markdown-formatted review output
- Support for multiple file reviews in a single run

## Installation
Install this tool using `pip`:

```bash
pip install aireview
```

## Configuration

Create a configuration file named `aireview.config` with the following structure in your project root:

```ini
[ai]
model = gpt-4
api_key = your_openai_api_key
base_url = https://api.openai.com/v1  # Optional: for custom OpenAI-compatible endpoints

[review]
output = ai-review.md # Output file for the review comments

[context]
project_context = Your project context description... # Example, I am working on Nodejs, typescript project

[prompt]
prompt_template = Your custom review prompt... # Example, Review the changes and provide feedback on the code quality and best practices
```

## Usage

1. Make some changes in your Git repository
2. Add changes to the staging area:
```bash
git add  the/changed/files
```
3. Run AIReview:
```bash
aireview --config path/to/aireview.config # you can skip --config if the config file is in the project root
```

The tool will:
1. Detect your Git changes
2. Send them to the LLM for review
3. Generate a markdown file with the review comments

## Development

1. Clone the repository:
```bash
git clone https://github.com/setkyar/aireview.git
cd aireview
```

2. Create and activate a virtual environment:
```bash
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
```

3. Install the package:
```bash
pip install -e .
```

### Running Tests

```bash
# Install test dependencies
pip install -e ".[test]"

# Run tests
pytest

# Run tests with coverage
coverage run -m pytest
coverage report
```

## Contributing

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
tuesd4y-styles 0.1.2
Tuesd4y styling utilities for Python. Adapted from CarbonPlan.
Requires Python: >=3.8

# Colors

A Python package providing custom color palettes and themes for data visualization with matplotlib and seaborn.

Styles are adapted from [CarbonPlan Style](https://github.com/carbonplan/styles).

## Installation

```bash
pip install tuesd4y-styles
```

## Usage

### Basic Usage

```python
# Import the required modules
from tuesd4y_styles import colors, mpl

# Set the theme (available themes: carbonplan_light)
mpl.set_theme(style='carbonplan_light')

# Load colors into your local namespace
lcs = locals()
lcs.update(**colors.light)

# Now you can use the colors in your plots
import matplotlib.pyplot as plt
import seaborn as sns

# Example with scatter plot using predefined colors
plt.scatter(*zip(*cluster_1), color=red, label='Cluster 1')

# Example with heatmap using custom colormaps
sns.heatmap(city_corr_matrix, annot=True, cmap='redteal_light_r', center=0, ax=ax)
```

### Available Themes
- `carbonplan_light`
- `carbonplan_dark`

### Available Color Palettes
The package provides color palettes through the `colors.light` module. Colors can be accessed directly after updating the local namespace as shown in the usage example.

### Available Colormaps
- `redteal_light_r`: A reversed red-teal colormap suitable for correlation matrices and heatmaps

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## Building

```bash
python -m build
python -m twine upload dist/*
```

## License

[MIT License](LICENSE)
vsjet 3.5.3
VapourSynth packages from JET
Requires Python: >=3.12

# vs-jet

> [!CAUTION]
> This package is deprecated!
>
> vs-jet has migrated to vs-jetpack.
> To migrate from vs-jet to vs-jetpack, run:
> ```
> pip uninstall stgpytools vstools vspyplugin vskernels vsexprtools vsrgtools vsmasktools vsaa vsscale vsdenoise vsdehalo vsdeband vsdeinterlace vssource vspreview vsjet -y
> pip install vsjetpack vspreview
> ```
> To update vs-jetpack, you can now just run `pip install --upgrade vsjetpack` like for all other packages.

### PyPi package for quickly upgrading and installing all JET Python packages.

This package does not install any Vapoursynth plugins.<br>
For support inquiries, please join the [JET Discord server][discord]
or leave an [issue][issues].

## How to install
**This package is deprecated!**

Please install https://pypi.org/p/vsjetpack instead.

If you already have `vsjet` installed, see above for how to migrate.
TimeForge 1.2.3
Create realistic looking but fake time documentation for your student job at KIT
Requires Python: >=3.7

# TimeForge
Create realistic looking but fake time documentation for your student job at KIT

## Call for participation

This is only a prototype with a lot of features that can be added. Unfortunately I do not have a lot of time to care for my project alone. If anyone wants to submit pull requests: Feel free to do so. 

## Installation

Installation via pip:

``` bash
$ pip install timeforge
```


## Usage

This program has currently only a command line interface. Use

``` bash
$ timeforge --help
```

to get an overview of the functionality. The PDF document with the form will be automatically downloaded from the PSE homepage.

## Configuration file

This program also supports a configuration file for the `--` command line arguments. Config file syntax is: `key = value`. Usually command line arguments are overwriting the config file. Example:

```
name = "Max Mustermann"
salary = 12.00
personell = 1234567
organisation = PSE
job = "Tutorium"
```

In this example: When calling `timeforge -c path/to/config.conf` the arguments `-n -s -p -o` and `-j` don't have to be passed anymore.

Furthermore this tool has a rudimentary but working UI. Only Linux and MAC are supported, maybe it also works on Windows. Call

``` bash
$ timeforge-tui
```

to start the user interface
openrelik-ai-common 0.5.0
Common utilities for OpenRelik AI functionality
Requires Python: <4.0,>=3.12

### Common utilities for OpenRelik AI functionality.

```python
# LLM providers are configured via environment variables
# export OLLAMA_SERVER_URL=http://localhost:11434
# export OLLAMA_DEFAULT_MODEL=gemma2:9b

from openrelik_ai_common.providers import manager

provider = manager.LLMManager().get_provider("ollama")
llm = provider(model_name="gemma2:9b", system_instructions="Your name is Foobar.")

# Single text generation
response = llm.generate(prompt="Hello, what is your name?")
print(response)

# Multiturn chat session
response = llm.chat("What is your name?")
print(response)
response = llm.chat("My name is John Doe")
print(response)
response = llm.chat("What is my name?")
print(response)

# Chat on the command line
while True:
    message = input("Message: ")
    response = llm.chat(message)
    print(response)
```

##### Obligatory Fine Print
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.
install-n-use 1.0
A package that installs and imports a Python package if it's not found.
Requires Python: >=3.6


# Install n' Use

`Install n' Use` is a Python script designed to automate the installation, upgrade, and management of Python packages. It ensures that required packages are installed and upgraded if necessary, and handles errors gracefully if packages are not found.

## Features

- **Install packages**: Automatically installs a package if it is not found.
- **Install specific versions**: Installs a specific version of a package.
- **Upgrade packages**: Upgrades a package to the latest version.
- **Upgrade specific versions**: Upgrades a package to a specific version.

## Functions

### `install(package)`
Installs a package if it is not found on your system.

#### Arguments:
- `package` (str): The name of the package to install.

#### Example:
```python
install("tkinter")
```

### `install_specific(package, version, name)`
Installs a specific version of a package and assigns it to a custom variable name.

#### Arguments:
- `package` (str): The name of the package to install.
- `version` (str): The version of the package to install.
- `name` (str): The name to assign the installed package.

#### Example:
```python
install_specific("numpy", "1.21.0", "np")
```

### `upgrade(package)`
Upgrades a package to the latest version.

#### Arguments:
- `package` (str): The name of the package to upgrade.

#### Example:
```python
upgrade("requests")
```

### `upgrade_specific(package, version, name)`
Upgrades a package to a specific version and assigns it to a custom variable name.

#### Arguments:
- `package` (str): The name of the package to upgrade.
- `version` (str): The version of the package to upgrade to.
- `name` (str): The name to assign the upgraded package.

#### Example:
```python
upgrade_specific("requests", "2.26.0", "req")
```

## Error Handling

- If a package is not found, the script attempts to install it.
- If the package installation or upgrade fails, an exception will be raised:  
  `PyPIError: Package not Found on PyPI`.

## Installation

To use `Install n' Use`, simply download the script and include it in your project.

## Requirements

- Python 3.x
- `pip` (Python's package installer)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
dialog-editor-pro 1.0.0
Professional Dialog Editor with PDF Export
Requires Python: >=3.8

# Dialog Editor Pro

专业级对话记录编辑器，支持Markdown渲染与智能导出功能

## 功能特性
- 🎨 苹果风格界面设计
- 📝 Markdown即时预览
- 🖨️ PDF/PNG双模式导出
- 🎛️ 对话颜色标记系统
- 📦 本地会话存储

## 快速开始
```bash
pip install dialog-editor-pro
dialog-editor