🤖 PR-Agent Pro Python SDK & CLI
Automated AI Pull Request Code Reviewer & Security Auditor.
⚡ Quickstart
pip install ai-pr-reviewer
from ai_pr_reviewer import review_diff, audit_security, generate_changelog
diff = """
--- a/db.py
+++ b/db.py
@@ -10,3 +10,4 @@
+ query = f"SELECT * FROM users WHERE email = '{user_email}'"
+ cursor.execute(query)
"""
# 1. Security & Secret Leak Audit
security = audit_security(diff)
print(f"Security Grade: {security['security_grade']} (Score: {security['security_score']}/100)")
for f in security['findings']:
print(f"⚠️ {f['type']}: {f['description']}")
# 2. Automated Code Review with 1-Click Suggestions
review = review_code_diff(diff)
print(f"Verdict: {review['verdict']}")
for c in review['comments']:
print(f"📝 {c['file']}: {c['comment']}")
# 3. Semantic Changelog
changelog = generate_pr_summary_and_changelog(diff, pr_title="Add user query")
print(changelog['summary_markdown'])
Metadata
Release files for pr-agent-pro 1.0.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 | Actions |
|---|---|---|---|---|
| pr_agent_pro-1.0.0.tar.gz | 2.6 kB | Without provenance | Details for pr_agent_pro-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pr_agent_pro-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for pr_agent_pro-1.0.0-py3-none-any.whl |
Total release size: 5.4 kB
Release files / pr_agent_pro-1.0.0.tar.gz
| Download URL | pr_agent_pro-1.0.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
335a028a6c4d0ff0659998724b5cc29b73b415b95d9cccd4ff0d1c23e6c8b899
|
|
BLAKE2b-256 checksum How to use checksums |
1dab248d4da50cfa6b5952ebbd140cb4f1cf81c249c52a9cd81647bfed753d72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / pr_agent_pro-1.0.0-py3-none-any.whl
| Download URL | pr_agent_pro-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b26c051745abb688a2e0556f08d745ec8cb56fc0333d26eae412c3aad07f2ab4
|
|
BLAKE2b-256 checksum How to use checksums |
bc525c16c178f53d5f352ce3ed9317053bbacea38b627afa90f084eb87c79b1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for pr-agent-pro 1.0.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.