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.188.1.tar.gz
(4.1 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.188.1.tar.gz.
File metadata
- Download URL: wmill-1.188.1.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-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0da38d95b88c33f66a5e706ddc3561b2b00af619deb7c0f02b349d4d8cff2a8
|
|
| MD5 |
82fb0ae084514372a3b5547a2ecec3ae
|
|
| BLAKE2b-256 |
98cc81778470ffc474bbe339ff40bcf992b0cca02e4d26de780e2184ac6c2872
|
File details
Details for the file wmill-1.188.1-py3-none-any.whl.
File metadata
- Download URL: wmill-1.188.1-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-1014-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdc0ee4870c145633472944aacd8a4db2264e28c646515de33d426120163f8c4
|
|
| MD5 |
44ca8bb1ff98674a284b1459719d452b
|
|
| BLAKE2b-256 |
2b4c24c13c595cb2ed9dc61acc0696af3b38dd45ea3ac082e6e644a0b4a76278
|