Typed resources
Typed models for servers, plans, images, SSH keys, invoices, and your account.
Typed Python and TypeScript clients for the Arct Cloud API, published as previews.
from arct import Arct
with Arct() as client: # reads ARCT_TOKEN
result = client.servers.create(
hostname="web-1",
datacenter="ams2",
plan="hvm.nano",
image_id="IMAGE_ID",
ssh_key_ids=["SSH_KEY_ID"],
)
server = client.servers.wait_until(result, "running", timeout=600)
print(server.ipv4)Create a server with the Python SDK
import { Arct } from '@arct-cloud/sdk';
const client = new Arct(); // reads ARCT_TOKEN
const result = await client.servers.create({
hostname: 'web-1',
datacenter: 'ams2',
plan: 'hvm.nano',
image_id: 'IMAGE_ID',
ssh_key_ids: ['SSH_KEY_ID'],
});
const server = await client.servers.waitUntil(result, 'running', { timeoutMs: 600_000 });
console.log(server.ipv4);Create a server with the TypeScript SDK
Typed models for servers, plans, images, SSH keys, invoices, and your account.
Wait for a server to reach running or stopped in one call.
Separate error types for authentication, rate limits, validation, and payments.
Reads and server creations retry automatically on transient errors.
Iterate every server, plan, and image without handling pages.
An async client for asyncio applications.
Published on PyPI for Python 3.11+ and on npm for Node.js 22+ with ESM.
python -m pip install "arct-cloud==0.1.0rc3"npm install --save-exact @arct-cloud/[email protected]Create, wait for, and manage servers from Python and TypeScript applications.