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.

It is a convenient wrapper around the exhaustive, automatically generated from OpenApi but less user-friendly windmill-api.

Quickstart

import wmill


def main():
    #os.environ.set("WM_TOKEN", "<mytoken>") OPTIONAL to set token used by the wmill client
    version = wmill.get_version()
    resource = wmill.get_resource("u/user/resource_path")

    # run synchronously, will return the result
    res = wmill.run_script_sync(hash="000000000000002a", args={})
    print(res)

    for _ in range(3):
        # run asynchrnously, will return immediately. Can be scheduled
        wmill.run_script_async(hash="000000000000002a", args={}, scheduled_in_secs=10)

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.194.0.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

wmill-1.194.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file wmill-1.194.0.tar.gz.

File metadata

  • Download URL: wmill-1.194.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Linux/6.2.0-1015-azure

File hashes

Hashes for wmill-1.194.0.tar.gz
Algorithm Hash digest
SHA256 73d37413068f96eee65b3a0eb7e34aafc01cb2d8975c55e8203f8cf64181b855
MD5 4e8e3badca568b5a20af2724a252e84d
BLAKE2b-256 fe20d4d172f66d8339ce6c126f8320327f55f5449d9d9f45c42e0356c5c3f43c

See more details on using hashes here.

File details

Details for the file wmill-1.194.0-py3-none-any.whl.

File metadata

  • Download URL: wmill-1.194.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.3 Linux/6.2.0-1015-azure

File hashes

Hashes for wmill-1.194.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4ad4971f305f138b392757e5366d24bd29f44d95420d331d1024a0bfbafa5e9c
MD5 04c5650a7f8548bf65a0b95a2d4e5a76
BLAKE2b-256 b1f01c5ade6d045b59c5a95da434430a090602174624b47f272618df68e3ba19

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