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.2.0.tar.gz (2.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: sonarcloudx1-0.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 f0fbb0728c9abcfe3114ed655c400cf3a031a72fdceb0acb5efd084970f82560
MD5 d9f2656a161ef5a290612a7c9c310347
BLAKE2b-256 61dd0c1f25dfd728b5ec08fba7a1da8981777502b288aade294b99b8bc5b4dbc

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