nodepick.ai Python SDK
A Python SDK for managing Compute Nodes from nodepick.ai
Installation
Recommended Method (uv)
Using uv is the recommended fast, reliable way to install the nodepick SDK:
# Install published SDK from PyPI
uv add nodepick
# Or install from local source in development mode
uv pip install -e .
Alternative Method (pip)
# Install from PyPI
pip install nodepick
# Or install local editable SDK
pip install -e .
Manage Compute Nodes
Interact with the nodepick REST API to manage node lifecycles (create, list, reboot, shutdown, delete).
from nodepick import NodePickClient
# Authenticate with Nodepick Developer API Key
client = NodePickClient(api_key="your-developer-api-key", base_url="https://api.nodepick.ai")
with client:
# 1. Create a compute node
node = client.node_create(
memory=1024 * 1024 * 1024,
cpu=2,
network_type="public",
display_name="pqc-agent-sandbox"
)
node_id = node["id"]
print(f"Created node: {node_id}")
# 2. Get node details (including VMM status, SSH options, and MCP configuration)
details = client.node_get_details(node_id)
print("Node details:", details)
# 3. List all active nodes
nodes = client.node_list()
print("My nodes:", nodes)
# 4. Reboot a node
client.node_reboot(node_id)
# 5. Shutdown a node
client.node_shutdown(node_id)
# 6. Delete a node and reclaim resources (polls until fully deleted)
client.node_delete(node_id)
Reference
Check the official Documentation for a comprehensive reference guide.
Metadata
Release files for nodepick 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nodepick-0.1.3.tar.gz | 16.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nodepick-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.0 kB
Release files / nodepick-0.1.3.tar.gz
| Download URL | nodepick-0.1.3.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ce7abc8a2eae1ca60102c428d3c69b4109d8150a12182fcf6044446b647598a
|
|
BLAKE2b-256 checksum How to use checksums |
bb52f05c97afa46c7d34cb437ababdcc3cb3b33bd4be4af20c1260cc166190aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / nodepick-0.1.3-py3-none-any.whl
| Download URL | nodepick-0.1.3-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e984e7654a9bfdbc33af89947e26ce58757c1751dcde1564563dec44c71c081
|
|
BLAKE2b-256 checksum How to use checksums |
716afe911a3cf98d9dc5fbf68cdb3d02f3449865a99a2682ab2e34c4d7868139
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|