semvec/pypi-packages huggingface dataset:
prlens-store 0.1.5
Pluggable review history store for prlens
License: MIT
Requires Python: >=3.9

# prlens-store

Pluggable review history backends for [prlens](https://github.com/codingdash/prlens) — AI-powered GitHub PR code reviewer for teams.

## What's in this package

| Backend | Class | Description |
|---|---|---|
| `noop` | `NoOpStore` | Default — no persistence, zero config |
| `gist` | `GistStore` | Shared GitHub Gist, zero infrastructure |
| `sqlite` | `SQLiteStore` | Local SQLite file |

## Installation

```bash
pip install prlens-store
```

This package is a library dependency of [`prlens`](https://pypi.org/project/prlens/). Install `prlens` directly unless you are embedding history storage in your own tool.

## Usage

```python
from prlens_store.sqlite import SQLiteStore

store = SQLiteStore(".prlens.db")
records = store.list_reviews("owner/repo")
store.close()
```

## Links

- [Documentation & CLI](https://github.com/codingdash/prlens)
- [Changelog](https://github.com/codingdash/prlens/releases)
- [Issues](https://github.com/codingdash/prlens/issues)
prlens-core 0.1.5
Core review engine for prlens — AI-powered GitHub PR code reviewer
License: MIT
Requires Python: >=3.9

# prlens-core

Core review engine for [prlens](https://github.com/codingdash/prlens) — AI-powered GitHub PR code reviewer for teams.

## What's in this package

- **AI providers** — `BaseReviewer` + concrete implementations for Anthropic Claude and OpenAI GPT-4o
- **Codebase context** — injects repository file tree, co-change history, and paired test files into every review
- **GitHub API client** — fetches PR diffs, posts inline review comments, all pinned to the PR's head SHA
- **Config loader** — reads `.prlens.yml` and merges environment variables

## Installation

```bash
pip install 'prlens-core[anthropic]'   # Claude
pip install 'prlens-core[openai]'      # GPT-4o
pip install 'prlens-core[all]'         # both
```

This package is a library dependency of [`prlens`](https://pypi.org/project/prlens/). Install `prlens` directly unless you are embedding the review engine in your own tool.

## Usage

```python
from prlens_core.reviewer import run_review
from prlens_core.config import load_config

config = load_config(".prlens.yml")
config["github_token"] = "ghp_..."

summary = run_review(repo="owner/repo", pr_number=42, config=config)
print(summary.total_comments, summary.event)
```

## Links

- [Documentation & CLI](https://github.com/codingdash/prlens)
- [Changelog](https://github.com/codingdash/prlens/releases)
- [Issues](https://github.com/codingdash/prlens/issues)