Skip to main content

Auto-generated Python client for the Husk control plane API

Project description

husk-client

Auto-generated Python client for the Husk control plane API. Do not edit husk_client/_generated/ by hand — regenerate via scripts/gen-sdk-clients.sh from the repo root.

Install

pip install husk-client

Quickstart

from husk_client import AuthenticatedClient
from husk_client.api.sandbox import create_sandbox
from husk_client.models import CreateRequest

client = AuthenticatedClient(
    base_url="http://localhost:8000",
    token="hk_xxxxxxxxxxxx",
)

sb = create_sandbox.sync(
    client=client,
    body=CreateRequest(snapshot_id="py-3.12", cpu=2, memory_mb=2048),
)
print(sb.id, sb.state)

Status

Phase 1.7 (M5.8 – M5.10). Currently scaffold-only.

License

MIT

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

husk_client-0.0.1.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

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

husk_client-0.0.1-py3-none-any.whl (69.0 kB view details)

Uploaded Python 3

File details

Details for the file husk_client-0.0.1.tar.gz.

File metadata

  • Download URL: husk_client-0.0.1.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for husk_client-0.0.1.tar.gz
Algorithm Hash digest
SHA256 fcb6e6572b44cb43dd1fe43ed721dfcb450076879ba1acc57e9fa7fe163a7e69
MD5 6f9faeabfb75ae73fd42f0c92e8ca577
BLAKE2b-256 7749c8d4dfccab70fe9b8da2140c50b9e1a3873c8884666994528f29cb7b318d

See more details on using hashes here.

File details

Details for the file husk_client-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: husk_client-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 69.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for husk_client-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b0ac1e38d6fcff006cb660777ec1ab579af3fd6bdf3d884137fa6dcd0de0865f
MD5 5a33463c71525705cc0e424f01d0c628
BLAKE2b-256 7e0963999afbb38d2439d06ca0247b65c09f5d37a59ee28eec4f899d5dfaaf33

See more details on using hashes here.

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