Registry / auth-security / pysentry-rs

pysentry-rs

JSON →
library0.4.5pypypi✓ verified 82d ago

PySentry is a security vulnerability auditing tool for Python packages. It scans dependencies from lock files (uv.lock, Pipfile.lock, poetry.lock, pylock.toml) and requirements files, cross-referencing against OSV and PyPA vulnerability databases. Current version 0.4.5, released monthly. Requires Python >=3.9.

pip install pysentry-rs
INSTALL
IMPORT
SIG · PYSENTRY-RS
P
pysentry-rs
auth-securitypythonv0.4.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

get_version
from pysentry import get_version
from pysentry import PySentry
main
from pysentry import main
from pysentry import PySentry
run_cli
from pysentry import run_cli
from pysentry import PySentry

Basic usage: initialize PySentry and scan dependencies for vulnerabilities.

from pysentry import PySentry # Initialize PySentry (requires no auth for local scans) sentry = PySentry() # Scan current directory dependencies vulns = sentry.scan('.') for v in vulns: print(f"{v.id}: {v.package} - {v.severity}")
pysentry --version
Debug
Known issues
breakingv0.4.0 introduced remote notifications system; config file format changed. Old .pysentry.toml may not be compatible.
fix
Review .pysentry.toml for [notifications] section; add enabled = true/ false as needed.
affects: <0.4.0 -> >=0.4.0
gotchaImport as 'pysentry', not 'pysentry_rs'. The PyPI name is pysentry-rs but the module is pysentry.
fix
Use 'from pysentry import PySentry' or 'import pysentry'.
affects: all
deprecatedv0.3.x configuration in pyproject.toml under [tool.pysentry] is superseded by .pysentry.toml with higher priority.
fix
Migrate settings to .pysentry.toml if you need consistent priority.
affects: >=0.3.13
Upgrade
Version history
0.4.5latest on PyPI · released Apr 14, 2026
Audit
Dependencies
sentry-sdkoptionalSentry SDK for error reporting (optional, via configuration)
Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
pysentry-rs — pip install pysentry-rs · libregistry