Prism Semantic Reviewer
Git tells you what lines changed. Prism tells you what those changes mean.
Prism reads a Python web codebase and, for any pull request, turns a huge diff into a short, ranked list of the things that actually matter: new endpoints, new database writes, new external calls, and data that now leaves the system. It cuts through the noise of refactors and points you to the exact lines that matter.
Install
pip install prism-semantic-reviewer
Quick Start
1. Review a Pull Request
Run a semantic review on a local repository or directly via a GitHub URL:
# Review a local PR by branch
prism review /path/to/repo --base master --head feature-branch
# Review a GitHub PR directly
prism review https://github.com/owner/repo --pr 123
2. Start the Interactive Web UI
Prism includes a built-in web server with an interactive node-link graph visualization of your PRs.
prism serve --port 8765
# Open http://localhost:8765
3. Discover Invariants
Automatically discover and baseline properties of your codebase from its git history.
prism invariants /path/to/repo --snapshots 10
What it detects
Prism tracks cross-boundary flows without needing to run your code:
- API Routes (new, modified, removed)
- External API Calls (e.g. Stripe, Twilio)
- Database Writes
- Async Task Dispatches (e.g. Celery)
- Authentication Level (e.g. AllowAny vs Authenticated)
- PII Egress (Personal data leaving the system)
For full documentation, architecture details, and instructions on deploying Prism as a GitHub Action, please visit the Official GitHub Repository.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file prism_semantic_reviewer-0.1.2.tar.gz.
File metadata
- Download URL: prism_semantic_reviewer-0.1.2.tar.gz
- Upload date:
- Size: 38.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2424aad052d8ddca343db862d556210e250a87142ec9b3a8b8971bf0ef0aeea3
|
|
| MD5 |
f6aa52e764348621604e7295211a8b51
|
|
| BLAKE2b-256 |
881c2c9e6dc013bed6e349e29806db13c6f1b6c96dcaa1fe9a017c9635bdb9ca
|
File details
Details for the file prism_semantic_reviewer-0.1.2-py3-none-any.whl.
File metadata
- Download URL: prism_semantic_reviewer-0.1.2-py3-none-any.whl
- Upload date:
- Size: 37.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10ed950d8f51fc26223d07f5ff601de81abbae984aaf328a07f6ff9fc8f1d0db
|
|
| MD5 |
ec311714be37f3d393b61fac4d7f36bb
|
|
| BLAKE2b-256 |
5cdb73cbdcaa15638f69a34105ec633aa115752cb25de35dc51c246961994ca3
|