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.2.2.tar.gz (10.9 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.2.2-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shepherd_client-2026.2.2.tar.gz
Algorithm Hash digest
SHA256 2774542d0bad98684126af3e212f960fed8d20011d08cf7f7d334b4302c2a406
MD5 cea47a59bbfe2cd86b4e7b167ba37d03
BLAKE2b-256 215d4ebdc58a378c5c1a82760221097e62de15ae30d0c6e79ea43c62c4800a8c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for shepherd_client-2026.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6b21032825358e25b042d3ab4bfda74bb70085015e9f60d673a4e0f7738800c6
MD5 21daa4c8a6698ec6d11ec718066e9625
BLAKE2b-256 4b575d14dc24dda3545c66dec0a5062eebc69db9733b34e7d954fc4b9e531bc4

See more details on using hashes here.

Provenance

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