We're excited to announce the general availability of the SonarScanner for Python now installable directly via PyPI:
https://pypi.org/project/pysonar/
This new scanner is designed specifically for the Python ecosystem and is fully compatible with:
Python 3.9 and above
SonarQube Cloud
SonarQube Server 10.6 and above
It replaces the previous beta scanner (
https://pypi.org/project/pysonar-scanner/), which is now officially unsupported and not recommended for production use.
The scanner supports a wide range of popular libraries and frameworks including security rules for Django, Flask, FastAPI, and quality rules for Pytorch, Numpy, Pandas, Scikit-learn and more.
Whether you’re analyzing your Python projects on SonarQube Server or SonarQube Cloud, this scanner offers a streamlined and Python-native experience.
------------------------------------------------------------------------
You can find the documentation for setup and usage here:
SonarQube Server:
https://docs.sonarsource.com/sonarqube-server/latest/analyzing-source-code/scanners/sonarscanner-for-python/
SonarQube Cloud:
https://docs.sonarsource.com/sonarqube-cloud/advanced-setup/ci-based-analysis/sonarscanner-for-python/
We invite all users looking for a dedicated Python analysis solution to try out the new scanner and share your feedback in our community.
Happy scanning!
-Team Sonar
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)