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.2
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.2.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nodepick-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.1 kB
Release files / nodepick-0.1.2.tar.gz
| Download URL | nodepick-0.1.2.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03ee1db2a60fe03955d85213956528a5e551e2cbc6a1f3c232bded8d64b56fce
|
|
BLAKE2b-256 checksum How to use checksums |
0f02db08994fef3fe87ae5a725d440b65196993b28acd7df66836225f9aa9b19
|
| 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.2-py3-none-any.whl
| Download URL | nodepick-0.1.2-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5d0ac77c9954123dbcec4dc1496928ccd2e1b9b0c38e4589f46c1cb4974359c
|
|
BLAKE2b-256 checksum How to use checksums |
cf9c57094305a0208f514c97edeb60ea1ece78b096533087009b28accebdc3e9
|
| 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}
|