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-2025.10.1.tar.gz (10.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-2025.10.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shepherd_client-2025.10.1.tar.gz
Algorithm Hash digest
SHA256 3fbdef6c45a16a2f1c06cce7c550cd47dd9584f42fb500bb644a831dca8e692b
MD5 2d259625ba3a43e2c77bf2adc5a74910
BLAKE2b-256 125cf6366526648352fa708281c37fc10f5b85b2b9aeffdf1b4770b0ae82fc84

See more details on using hashes here.

Provenance

The following attestation bundles were made for shepherd_client-2025.10.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-2025.10.1-py3-none-any.whl.

File metadata

File hashes

Hashes for shepherd_client-2025.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31faacb27048b4eb7bf78dbb15fb1340c64157a187c226b3cc435bee4475a798
MD5 e088d39e4c4ab6a72e1da611afa066c0
BLAKE2b-256 bf23ec9f3c2da1b0541efcbc4662d0b964b37ced728e34ac18e8da8aa4d3003d

See more details on using hashes here.

Provenance

The following attestation bundles were made for shepherd_client-2025.10.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