Skip to main content

API Handler for Upsource web service, providing basic authentication (which seems to be the only kind that Upsource supports) and a few methods.

Installation

Install:

pip install python-upsource-api

Compatibility

This package is compatible Python versions 2.7, 3.4, 3.5 and 3.6.

Usage

The API handler is easy to use, you just need to initialize it with the connection parameters and use any of the methods to get the required information

Example getting projects with coverage and issues metrics:

from upsource.UpsourceClient import UpsourceClient
from upsource.HubClient import HubClient

upsource = UpsourceClient(base_url, username='admin', password='xxx')
hub = HubClient(hub_url, username='admin', password='xxx') or hub = HubClient(hub_url, token='xxxxx')

Download files

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

Source Distribution

python-upsource-api-1.0.0.zip (10.8 kB view details)

Uploaded Source

File details

Details for the file python-upsource-api-1.0.0.zip.

File metadata

  • Download URL: python-upsource-api-1.0.0.zip
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3

File hashes

Hashes for python-upsource-api-1.0.0.zip
Algorithm Hash digest
SHA256 71d3a1b5be75719a853b9b8ab9506e71a6e60e0d9c63bbc199f6f1480576b4c1
MD5 9940a9e73b0e0245e339e675d2058654
BLAKE2b-256 b9f4a69e68a7e32ffebe28a171f2c155ca46ae04c41bc97e8d1aaf81b0df7fa1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page