Skip to main content

mv37-workdir

Python SDK for workdir.

pip install mv37-workdir
import time
from workdir import Client

workdir = Client("https://api.workdir.dev", api_key="...")

box = workdir.sandboxes.create()
print(box.exec("echo hello").stdout)

job = box.exec("pytest", background=True)
status = box.exec_status(job.cmd_id)
while status.state == "running":
    time.sleep(1)
    status = box.exec_status(job.cmd_id)
print(box.exec_logs(job.cmd_id))
box.delete()

The SDK uses only the Python standard library.

Download files

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

Source Distribution

mv37_workdir-0.1.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

mv37_workdir-0.1.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file mv37_workdir-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for mv37_workdir-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2972587b92c1c563fa0f9518371e1fc7637b02c98f50be16615647f76b1fce6b
MD5 89407a989f44dab2eedfe3b62484de7f
BLAKE2b-256 beb11892d6dea5e1d5e5568542b21b68c45a682caa58260943d01bc7069b6356

See more details on using hashes here.

Provenance

The following attestation bundles were made for mv37_workdir-0.1.2.tar.gz:

Publisher: publish-sdks.yml on mv37-org/workdir

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

File details

Details for the file mv37_workdir-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mv37_workdir-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mv37_workdir-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2aac6a5089dbc559fb1436375a076caa2c81434777b98bfa1185409e4bcfd12d
MD5 77580e807db720a08189d7b2e6e9c1b3
BLAKE2b-256 ba818372ad379667905d59f9ab129577d816020c69dbd282e84987de1521ade8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mv37_workdir-0.1.2-py3-none-any.whl:

Publisher: publish-sdks.yml on mv37-org/workdir

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 Sentry Error logging StatusPage Status page