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 sonarcloudX1 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 Distribution

sonarcloudx1-0.4.0.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file sonarcloudx1-0.4.0.tar.gz.

File metadata

  • Download URL: sonarcloudx1-0.4.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.1

File hashes

Hashes for sonarcloudx1-0.4.0.tar.gz
Algorithm Hash digest
SHA256 fae0ff962fd95bde1b583f5ce67e83aec03067a601b5e0c9553c60c03a04c1ff
MD5 976c65530cf13ac57d8bd1f3440b4e8c
BLAKE2b-256 441f7bf3170ead7863d4e29a93b771423693c78c85fa68ffba54900a177ba67f

See more details on using hashes here.

Supported by

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