Quick Start — Python
One of the five Orvanta Quick Starts shown on an empty workspace’s Home page. Picking the Hello Orvanta (Python) card opens this script as an unsaved draft in the script editor — nothing is deployed until you save it.
What it demonstrates
Section titled “What it demonstrates”A Python script on Orvanta is a plain def main(...) function — no framework to learn first.
def main(name: str = "Orvanta"): return { "message": f"Hello, {name}! This ran as a Python (Python3) script on Orvanta." }The name argument has a default, so the auto-generated input form makes it optional — hit
Run with no input and it prints “Hello, Orvanta!”.
The draft’s dependency file (requirements.in) is empty — this Quick Start has no third-party
packages to install before it runs.
Try it
Section titled “Try it”- Open an empty workspace’s Home page and click Hello Orvanta (Python) under Orvanta Quick Starts.
- Press Run (or
Ctrl+Enter) to execute it as-is. - Edit the
mainfunction and re-run to see the change reflected immediately. - Click Deploy if you want to keep it in the workspace — otherwise navigate away and the draft is discarded.
What next?
Section titled “What next?”- Python Quickstart — the full walkthrough of writing Python scripts from scratch.
- Seed your workspace — back to the full Quick Starts gallery.