Get up and running with Python Dependency Reader in under 5 minutes!
A comprehensive CLI tool that analyzes Python dependencies across multiple file formats with advanced security and license checking capabilities.
Key Features:
- 🔍 Multi-format support (requirements.txt, Pipfile, pyproject.toml, Python source)
- 🛡️ Security vulnerability detection
- 📜 License compatibility analysis
- ⚡ High-performance analysis (~1000 files/second)
- 📊 Rich output formats (Table, JSON, HTML)
python main.py --help# Basic analysis
python main.py parse
# Comprehensive analysis with security and license checking
python main.py analyze --check-security --check-licensespython main.py info django --check-security --check-licensepython main.py scan --path ./src --recursivepython main.py analyze --format html --output report.html# Find all security vulnerabilities
python main.py security --severity high
# Check specific directory for vulnerabilities
python main.py analyze --path ./production --check-security# Check license compatibility
python main.py licenses --check-compatibility
# Generate compliance report
python main.py analyze --check-licenses --format html --output compliance.html# JSON output for automation
python main.py analyze --check-security --format json > security_report.json
# Exit with error if high-severity vulnerabilities found
python main.py security --severity high --format simple | grep "HIGH\|CRITICAL" && exit 1# Check new feature branch
python main.py scan --path ./new_feature --recursive
# Find version conflicts across files
python main.py parse --detect-conflicts
# Validate dependencies against PyPI
python main.py parse --check-pypiHuman-readable with color coding and status indicators
Machine-readable for automation and integration
python main.py analyze --format jsonInteractive reports with graphs and dashboards
python main.py analyze --format html --output report.htmlClean text output perfect for CI/CD logs
python main.py analyze --format simple# Filter by severity
python main.py security --severity medium
# Check specific path
python main.py security --path ./critical_code# Recursive scanning
python main.py scan --recursive
# Save to custom log
python main.py scan --log dependencies.log
# Multiple output formats
python main.py analyze --format table --output analysis.txt# Cache configuration
export DEPENDENCY_READER_CACHE_TTL=7200
export PYPI_RATE_LIMIT=10
# Logging
export DEPENDENCY_READER_LOG_LEVEL=DEBUGpython main.py -v analyze # Detailed loggingRun the comprehensive demo to see all features:
python demo.py- Read the full documentation: docs/README.md
- Check the examples: examples/
- Run performance benchmarks:
python -m pytest tests/performance/ --benchmark - Explore the architecture: Architecture diagram
- Check the comprehensive README.md
- Browse usage examples
- Run
python main.py COMMAND --helpfor command-specific help - Review CHANGELOG.md for version details
Happy analyzing! 🐍✨