Skip to main content

Web-Client for the Shepherd-Testbed

Project description

Schepherd-Client

PyPIVersion PyVers QA-Tests

Shepherd Nova Testbed: https://testbed.nes-lab.org/

Testbed-WebAPI: https://shepherd.cfaed.tu-dresden.de:8000

Source Code: https://github.com/nes-lab/shepherd-webapi

Main Project: https://github.com/nes-lab/shepherd


The Testbed-Client links the user to the testbed. It's written in Python and uses http-requests to communicate with the web-API. As the source is open, you can modify and extend it as you like. You could also write your own tools based on these few hundred lines of code.

Features

  • register & delete an account
  • query user information
  • create, schedule, query state of experiments
  • download results

In the near future, the functionality will be extended to:

  • list content like available energy environments, firmwares, virtual power sources (currently hardcoded in shepherd-core)
  • query the testbed data-model (currently hardcoded in shepherd-core)
  • query state of the observers (last seen alive)
  • query statistics on the scheduler-queue
  • CLI

Getting started

Install

You can install the client by using the package-manager of your choice. In the following example we show pip and uv:

pip3 install shepherd-client -U
# or modern uv with automatic virtual environment
uv pip install shepherd-client -U

Newest features can be obtained by directly installing from GitHub:

uv pip install git+https://github.com/nes-lab/shepherd-webapi.git@main#subdirectory=shepherd_client

Usage

The current interface is introduced in 5 short examples in the example-directory.

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

shepherd_client-2026.5.1.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

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

shepherd_client-2026.5.1-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file shepherd_client-2026.5.1.tar.gz.

File metadata

  • Download URL: shepherd_client-2026.5.1.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for shepherd_client-2026.5.1.tar.gz
Algorithm Hash digest
SHA256 9aed7b14b0d0214c80a201ce2d73985468252563e5b38a8588c11446bde7a17d
MD5 8deb985b38ac11f421be12755d40e3a8
BLAKE2b-256 809c5923321ac812a6041230c2795b02d7df07c166b3252c84cbe9741ab51d25

See more details on using hashes here.

Provenance

The following attestation bundles were made for shepherd_client-2026.5.1.tar.gz:

Publisher: publish_client.yaml on nes-lab/shepherd-webapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file shepherd_client-2026.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for shepherd_client-2026.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d1adc18f2355362c906e9a52e5343042ea9dd8c2a7d81c2314fbf188ca66a6b5
MD5 aeb0039db9dd5d48658f2aa34380e5f5
BLAKE2b-256 6a27299ae727acbae7aad7b56e11bdbc31eb5ed4ccc7839ca56c2511ee4f86ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for shepherd_client-2026.5.1-py3-none-any.whl:

Publisher: publish_client.yaml on nes-lab/shepherd-webapi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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