Sitelet https://github.com/NodeOps-app/createos-python-sdk/tree/main/examples/hello_world
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Hello world

Create a sandbox, print its Linux system information, and destroy it.

python -m pip install createos-sandbox
export CREATEOS_API_KEY="your-api-key"
python examples/hello_world/main.py

The sandbox is destroyed in a finally block, including when command execution fails.