All Projects β†’ shijl0925 β†’ python-sonarqube-api

shijl0925 / python-sonarqube-api

Licence: MIT license
Python wrapper for the SonarQube (Community Edition and Enterprise Edition) and SonarCloud API.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to python-sonarqube-api

Android-CICD
This repo demonstrates how to work on CI/CD for Mobile Apps πŸ“± using Github Actions πŸ’Š + Firebase Distribution πŸŽ‰
Stars: ✭ 37 (-65.42%)
Mutual labels:  sonarqube, sonarcloud
sonar-scanner-ant
SonarQube Scanner for Ant
Stars: ✭ 13 (-87.85%)
Mutual labels:  sonarqube, sonarcloud
Sonar Cxx
SonarQube C++ plugin (Community): This plugin adds C++ support to SonarQube with the focus on integration of existing C++ tools.
Stars: ✭ 649 (+506.54%)
Mutual labels:  community, sonarqube
noise-php
A starter-kit for your PHP project.
Stars: ✭ 52 (-51.4%)
Mutual labels:  sonarqube, sonarcloud
cv4pve-api-dotnet
Proxmox VE Client API .Net C#
Stars: ✭ 25 (-76.64%)
Mutual labels:  enterprise, api-client
WorkGroup
Self-Hosted private Social Media-Intranet for Companies.
Stars: ✭ 21 (-80.37%)
Mutual labels:  community, enterprise
cv4pve-api-php
Proxmox VE Client API for PHP
Stars: ✭ 45 (-57.94%)
Mutual labels:  enterprise, api-client
sonar-gerrit-plugin
SonarQube plugin for posting issues as Gerrit review comments
Stars: ✭ 32 (-70.09%)
Mutual labels:  sonarqube
go-opendota
Go client library for accessing the OpenDota API
Stars: ✭ 34 (-68.22%)
Mutual labels:  api-client
nomisr
Access UK official statistics from the Nomis database through R.
Stars: ✭ 30 (-71.96%)
Mutual labels:  api-client
clients-generator
Kaltura API Client Libraries Generator - PHP source code introspection based automation for API native SDKs generation for various programming languages and API platforms
Stars: ✭ 17 (-84.11%)
Mutual labels:  api-client
digital-ocean
Idiomatic Clojure client for Digital Ocean that makes it easy to boot virtual servers from your REPL
Stars: ✭ 34 (-68.22%)
Mutual labels:  api-client
wwwtf.berlin
wwwtf, a ~week of events organized for and by the web community
Stars: ✭ 46 (-57.01%)
Mutual labels:  community
Cloud-PAW-Management
Simplify PAW and SPA for the masses, unify the MS Internal, and public PAW specs, and expedite deployment to ~5min or less.
Stars: ✭ 45 (-57.94%)
Mutual labels:  enterprise
pyinaturalist
Python client for iNaturalist
Stars: ✭ 68 (-36.45%)
Mutual labels:  api-client
vuemeetups.org
A place to centralize all Vue.js community efforts
Stars: ✭ 35 (-67.29%)
Mutual labels:  community
bitmex-client-websocket
πŸ› οΈ C# client for Bitmex websocket API
Stars: ✭ 60 (-43.93%)
Mutual labels:  api-client
visconf
Generate an animated version of presentation from slides and transcript!
Stars: ✭ 33 (-69.16%)
Mutual labels:  community
100 Days Of Go
100 days of Go learning
Stars: ✭ 24 (-77.57%)
Mutual labels:  community
ruby-tr
Ruby TΓΌrkiye Topluluk Sitesi
Stars: ✭ 50 (-53.27%)
Mutual labels:  community
https://pepy.tech/badge/python-sonarqube-api https://sonarcloud.io/api/project_badges/measure?project=shijl0925_python-sonarqube-api&metric=alert_status

Python wrapper for the SonarQube(Community Edition and Enterprise Edition) and SonarCloud API.

Installation

The easiest way to install the latest version is by using pip to pull it from PyPI:

pip install  --upgrade python-sonarqube-api

You may also use Git to clone the repository from Github and install it manually:

git clone https://github.com/shijl0925/python-sonarqube-api.git
cd python-sonarqube-api
python setup.py install

Documentation

The full documentation for API is available on readthedocs.

Compatibility

  • This package is compatible Python versions 2.7, 3.3+.
  • Tested with SonarQube Community Edition 7.9.x LTS and SonarCloud Server.

Usage

For SonarQube Community Edition

The Client is easy to use, you just need to initialize it with the connection parameters (default sonarqube url is http://localhost:9000).

Example:

from sonarqube import SonarQubeClient

h = SonarQubeClient(sonarqube_url="http://localhost:9000", username='admin', password='admin')

Sonar authentication tokens can also be used in place of username and password:

h = SonarQubeClient(sonarqube_url="http://localhost:9000", token='*****************')

For SonarCloud

Example:

from sonarqube import SonarCloudClient
h = SonarCloudClient(sonarcloud_url="https://sonarcloud.io", token='*****************')

For SonarQube Enterprise Edition

The Client is easy to use, you just need to initialize it with the connection parameters (default sonarqube url is http://localhost:9000).

Example:

from sonarqube import SonarEnterpriseClient

h = SonarEnterpriseClient(sonarqube_url="http://localhost:9000", username='admin', password='admin')

Sonar authentication tokens can also be used in place of username and password:

h = SonarEnterpriseClient(sonarqube_url="http://localhost:9000", token='*****************')

API example

The example documentation for SonarQubeClient APIs is available on API examples.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].