Build interactive data apps that run locally in the browser with Preswald
Install the Preswald SDK
Set Up Your First Project
hello.py
: Your main Python script where you’ll write your app logicpreswald.toml
: Configuration for your app’s metadata, runtime settings, and brandingsecrets.toml
: Secure storage for sensitive data like API keysdata/
: Directory for your input data filesimages/
: Directory for custom branding assets.gitignore
: Pre-configured to exclude sensitive files from version controlWrite Your First App
hello.py
and edit it with the following content:Export Your App
dist/
folder containing your complete app, including: