Python SDK for NoClick workflow automation
Project description
noclick-sdk
Python SDK for NoClick workflow automation. Build external applications that interact with NoClick workflows — read node outputs, trigger execution, manage state, and work with files and datasets.
Installation
pip install noclick
Quick Start
import asyncio
import noclick
async def main():
sdk = noclick.Client(
api_key="nk_live_...",
workflow_id="your-workflow-id",
)
await sdk.connect()
# List nodes
nodes = await sdk.nodes.list()
for node in nodes:
print(f"{node['label']} ({node['type']})")
# Read node output
output = await sdk.nodes.get_output("gmail-node-id")
# Run a node and get results
results = await sdk.execution.run_nodes_and_get_output(
["data-fetcher"], ["formatter"]
)
# State management
await sdk.state.set("counter", 42)
val = await sdk.state.get("counter")
# Dataset CRUD
ds_id = await sdk.dataset.create("My Data")
await sdk.dataset.append_rows(ds_id, [{"name": "Alice", "score": 95}])
await sdk.disconnect()
asyncio.run(main())
API
| Namespace | Methods |
|---|---|
sdk.nodes |
get_output, get_config, list |
sdk.execution |
run_nodes_and_get_output, run_nodes_in_background, on_node_output, on_node_state |
sdk.state |
get, set, delete, update, keys |
sdk.auth |
list_credentials, has_credential, create_credential |
sdk.resources |
upload, get_url, remove, list |
sdk.dataset |
create, list, get_rows, append_rows, update_row, delete_rows |
sdk.workflow |
get_info |
Documentation
Full documentation at docs.noclick.com/sdk.
License
Business Source License 1.1 — free to use with NoClick, converts to Apache 2.0 after 4 years.
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
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 noclick-0.1.1.tar.gz.
File metadata
- Download URL: noclick-0.1.1.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f1ee1a7cf8caf600c43967ff7b7c64633055f5d8a593576c5732ff582d0b7f2
|
|
| MD5 |
bfe4eafde8c9aa73bb61a7aa2db87b8d
|
|
| BLAKE2b-256 |
f9622de2d8f148cc3d6a21a2ef16c1b225b43260e226323ab4519e11ae69ad41
|
File details
Details for the file noclick-0.1.1-py3-none-any.whl.
File metadata
- Download URL: noclick-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40871b9fa116ba87d728a544f7b68b07b0df6595b09d8a8689ea147adfec414f
|
|
| MD5 |
0be818f8bd8fbb18d8509eb183d1a436
|
|
| BLAKE2b-256 |
d90f8aa71b7f717938f8c466ca8ac93a9b6fd0b9d34e0478c78542472a483b80
|