prfs
Pull Request File System. PR review comments as local files. Browse, filter, and script against GitHub PR review threads using familiar Unix tools.
Installation
uv tool install prfs
How it works
prfs fetch pulls comments from a GitHub PR to {repo}/.prfs/{pr_number}/{thread_id}.md. One markdown file per thread with YAML frontmatter containing the file path and git patch.
Quick start
gh auth login # gh is used under the hood
prfs fetch
Features
- One file per review thread
- Works offline after initial fetch
- Natively integrates with
rg,vim, etc.
Format
Each thread file contains:
file: path and line number (src/utils.js:42). This format is supported by Vim jumps withgF.patch: the git diff where the comment thread was attached to.- Comments in markdown separated with
---.
Example comment file (.prfs/123/456.md):
---
file: src/utils.js:42
patch: |
diff --git a/src/utils.js b/src/utils.js
--- a/src/utils.js
+++ b/src/utils.js
@@ -40,7 +40,7 @@ function getUser() {
const db = connect();
- return db.query('users');
+ return await db.query('users');
}
---
The return type should be `Promise<User>` not `User`.
~@alice
---
Good catch. I'll fix it.
~@bob
Metadata
Release files for prfs 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| prfs-0.2.0.tar.gz | 24.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prfs-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.9 kB
Release files / prfs-0.2.0.tar.gz
| Download URL | prfs-0.2.0.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9176a6543b960ba9c2a73ba9e66f2afde42e1130ba14fa402a1e2ec9c4482642
|
|
BLAKE2b-256 checksum How to use checksums |
a5877604f73b6bd8f89d4fd46b04b221eb5b79963e6b5f8323f1264e8a2f763b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / prfs-0.2.0-py3-none-any.whl
| Download URL | prfs-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f925ee3b23a7b528a63bc122a71a347a805be71cd4f4ae91a5776c9db7c2f03
|
|
BLAKE2b-256 checksum How to use checksums |
042709cacf573612918315b1bfe031f074074d05687cd3d0a1e58e77df14c1f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for prfs 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.