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.151.1.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wmill-1.151.1.tar.gz.
File metadata
- Download URL: wmill-1.151.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.0 Linux/5.15.0-1042-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81051553ba34caf00942217a02699a7d53f14a49de92d13ecfc388ac2af1f081
|
|
| MD5 |
286e34d24c6a37d477c974dee5e1e5c9
|
|
| BLAKE2b-256 |
ee5a381276df8f62a4063b78cdc4f42b8618433d84627486988ac67bc4ffb3a5
|
File details
Details for the file wmill-1.151.1-py3-none-any.whl.
File metadata
- Download URL: wmill-1.151.1-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.11.0 Linux/5.15.0-1042-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eee0af5dd24972d0e1327aa9ed64d9024585011bf91c32f9bd2da445ca5ef2e
|
|
| MD5 |
f4a57aa9dd8b0cf6e86f635af7fc3b98
|
|
| BLAKE2b-256 |
7ea7a36495c6f50e38b3543c9b2cdb2b1665b2d52bce363eeef393612cf49fdf
|