vermin

Detect the minimum Python versions needed to run code

brewmacoslinux
Try with needOr install directly
Source

About

Concurrently detect the minimum Python versions needed to run code

Commands

vermin

Examples

Analyze a single Python file to detect minimum required version$ vermin script.py
Analyze an entire directory recursively$ vermin --recursive /path/to/project
Show detailed analysis with violations found$ vermin --violations script.py