Skip to main content

A client library for accessing Windmill server wrapping the Windmill client API

Project description

wmill

The core client for the Windmill platform.

Quickstart

import wmill


def main():
    client = wmill.Windmill(
        # token=...  <- this is optional. otherwise the client will look for the WM_TOKEN env var
    )

    print(client.version)
    print(client.get("u/user/resource_path"))

    job_id = client.start_execution(path="path/to/script")
    print(job_id)

    return client.run_script(path="path/to/script", args={"arg1": "value1"})

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

wmill-1.214.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

wmill-1.214.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page