Sujet : [Python-announce] Introducing Pysonar: The New SonarScanner for Python
De : jean.jimbo (at) *nospam* sonarsource.com (Jean Jimbo)
Groupes : comp.lang.python.announceDate : 15. May 2025, 08:43:31
Autres entêtes
Message-ID : <174729501158.24033.4225396879883547294@mail.python.org>
User-Agent : HyperKitty on https://mail.python.org/
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