Zero-config Python boundary intelligence.
esnodePy is a developer tool that scans your Python codebase to detect Assumption Drift—places where your type hints (what you claim) and your function logic (what actually happens) disagree.
It surfaces:
- Type drift
- Import boundary risks
- Mock vs reality mismatches
- Change impact across boundaries
Without configuration, strictness, or rewrites.
pip install esnodePyesnodepy scan
esnodepy imports
esnodepy runtime
esnodepy diffCLI examples (local, remote, structured output):
# Scan current directory (human readable)
esnodepy scan
# Scan a specific local path
esnodepy scan /path/to/project
# Scan a remote git repo (auto-cloned to temp dir)
esnodepy scan https://github.com/ESNODE/esnodePy.git
# Produce structured JSON output
esnodepy scan --output report.json
# Combine remote + JSON
esnodepy scan https://github.com/ESNODE/esnodePy.git --output remote_report.jsonCI badge and quick consumption
After the CI job emits esnode_report.json you can assert failures in shell using jq:
# Exit non-zero if any drift found
if [ $(jq '.drift_count' esnode_report.json) -gt 0 ]; then
echo "Assumption drift detected"; exit 1;
fiPython doesn’t fail loudly — it fails silently at boundaries.
esnodePy makes those boundaries visible.
