Skip to main content

Python REST API client for Shaken Fist

This is a python REST API client and command line client for the minimal cloud Shaken Fist.

The library is a complete interface to the Shaken Fist HTTP API.

VDI console access

sf-client instance vdiconsole <ref> opens a graphical console for an instance. When the Shaken Fist server advertises the vdi-console-proxy capability, the console is opened seamlessly through the Kerbside SPICE proxy; otherwise the client falls back to its existing direct-to-hypervisor .vv path. Either way this "just works" without any extra flags.

Install the optional vdi extra to get a viewer that supports the seamless proxy path out of the box:

pip install shakenfist-client[vdi]

This pulls in ryll on Linux (it is not published for other platforms, so the extra resolves cleanly -- but does nothing -- elsewhere). When ryll is on PATH and the proxy is used, the console JWT is never written to disk -- ryll performs the token exchange itself directly from the proxy URL.

Two options tune this behaviour:

  • --viewer <ryll|remote-viewer|PATH> -- override viewer auto-detection, which otherwise prefers ryll on PATH and falls back to remote-viewer.
  • --direct -- force the original direct-to-hypervisor .vv path, bypassing the Kerbside proxy even when the server advertises it.

remote-viewer (from virt-viewer) remains fully supported as a fallback for either path -- the .vv file the client writes is a standard virt-viewer file. sf-client instance vdiconsolefile downloads that same .vv file without launching a viewer, and accepts --direct too.

Documentation

Download files

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

Source Distribution

shakenfist_client-0.8.3.tar.gz (72.4 kB view details)

Uploaded Source

Built Distribution

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

shakenfist_client-0.8.3-py3-none-any.whl (58.0 kB view details)

Uploaded Python 3

File details

Details for the file shakenfist_client-0.8.3.tar.gz.

File metadata

  • Download URL: shakenfist_client-0.8.3.tar.gz
  • Upload date:
  • Size: 72.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for shakenfist_client-0.8.3.tar.gz
Algorithm Hash digest
SHA256 42317ccbbcf6bf0531cafcb24e2fdd90eb9a4ff5fb4d6240ad3810ed9a98b988
MD5 3ebee65183cbbb2b5cbb015a859dc631
BLAKE2b-256 e0739049627311eaa334d8c89c45920fe2e1d6d73d35c5a8b40c765997cc6847

See more details on using hashes here.

Provenance

The following attestation bundles were made for shakenfist_client-0.8.3.tar.gz:

Publisher: release.yml on shakenfist/client-python

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

File details

Details for the file shakenfist_client-0.8.3-py3-none-any.whl.

File metadata

File hashes

Hashes for shakenfist_client-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a00ff0aa9a77c902a30b5cf45de40d75b9b1897e0e04e8a6b14242f4918db0e2
MD5 c7e5ee28ff96513b7153a6489f2b29e8
BLAKE2b-256 547c0859e48c30ca076bc4b824145abfa768990e6afa20f8db7fae4f0e5f90be

See more details on using hashes here.

Provenance

The following attestation bundles were made for shakenfist_client-0.8.3-py3-none-any.whl:

Publisher: release.yml on shakenfist/client-python

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

Release history Release notifications | RSS feed

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