Skip to main content

lib para buscar wrapper SonarCloud

Project description

DevopsX

General Information

Goal

O SonarCloud é um serviço de análise de códifo desenvolvido para detectar problemas em 25 diferentes linguagens de programação. O objetivo da lib é extrair os dados de uma organização na ferramenta.

Instalation

To install sonarcloudX, run this command in your terminal:

pip install sonarcloudX

Usage

from sonarcloudX import factories
from pprint import pprint 

sonar_url = "https://sonarcloud.io"
personal_access_token =  "sonarcloud_token"

service = factories.ProjectFactory(personal_access_token=personal_access_token,sonar_url=sonar_url)
service.set_organization_name(organization_name = 'organization_name')
results = service.get_all(today=False)

print(results)

pprint (len(results))

for item in results:
    pprint (item.__dict__)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sonarcloudX-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file sonarcloudX-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: sonarcloudX-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for sonarcloudX-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ccdfa89cfa929a859033986e948ec278c3e74d4f544a360e63c11ddc9d3bad4
MD5 2ef8743989113bec384a22b6d95cd199
BLAKE2b-256 ba15222d31361ae6bee231877465da1c721aca82a5472a8e3f789aae6f260229

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page