Skip to content

A simple client to access Teamscale's REST API written in Python

License

Notifications You must be signed in to change notification settings

GSeibt/teamscale-client-python

 
 

Repository files navigation

teamscale-client-python Build Status PyPI version Teamscale Project

A simple client to access Teamscale's REST API written in Python

Find the documentation here: http://cqse.github.io/teamscale-client-python

Installation

We recommend to use at least Python 3.7 for running the Teamscale Python Client. Install from PyPi:

pip install teamscale-client

Alternatively, you can install from source by cloning the repository and executing:

pip install .

Setup & Usage

Copy the file examples/.teamscale-client.config into your home directory and update it to reflect your setup. This way, you can easily create the TeamscaleClient from the configuration file via a TeamscaleClientConfig.

To get an overview on common usage scenarios, please have a look at the examples folder of this repository.

Development

To install all required dependencies for running tests and developing the client, create a new environment and execute:

pip install -r requirements.txt

We are happy to add additional service calls to the client. Please make sure you include a test, if you add a service call. To run them use:

python setup.py test

Tests are written using the responses library, to mock the requests passed to the server using the requests api.

About

A simple client to access Teamscale's REST API written in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Makefile 0.2%