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.fixReview .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.fixUse '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.fixMigrate 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)