Command line

Built a client-side app somewhere else, in your own editor? A Streamlit app, a DuckDB dashboard, plain HTML and JavaScript, a marimo or Jupyter notebook: bring it into PyCorner from your terminal, keep working locally, and push changes. On the eutonomous storefront the same tool is called eutonomous-apps and talks to csr.eutonomous.eu.

Install

Signed in, Account → Command line has a download button and these steps for your system. The tool is one Python file (Python 3.8 or newer, nothing else to install). The command line, like importing and exporting apps, comes with a paid plan.

Linux and macOS

curl -o pycorner https://app.pycorner.dev/api/v1/cli/download/pycorner.py
chmod +x pycorner
mkdir -p ~/.local/bin && mv pycorner ~/.local/bin/    # on macOS, add ~/.local/bin to PATH in ~/.zshrc if needed
pycorner login                                       # paste a token from Account → Command line

On macOS, python3 --version tells you whether Python is there; if not, xcode-select --install or brew install python.

Windows (PowerShell, with Python from python.org or the Microsoft Store)

Invoke-WebRequest -Uri "https://app.pycorner.dev/api/v1/cli/download/pycorner.py?os=windows" -OutFile pycorner.py
py pycorner.py login
py pycorner.py import .\my-app

The token is kept in ~/.config/pycorner/config.json (%USERPROFILE%\.config\pycorner\ on Windows), readable only by you. In scripts and CI, set PYCORNER_TOKEN instead of logging in. A token opens only the import, push and pull calls, as you: it can’t change your account, billing or sharing. Revoke it under Account at any time.

Use

./pycorner import ./my-streamlit-app        # a folder or a .zip becomes a new app
./pycorner apps                             # your apps and their ids
cd my-streamlit-app && ../pycorner push     # send your changes (shows what changes first)
./pycorner pull <app id> [folder]           # an app's files into a folder
./pycorner export <app id> -o app.zip       # an app as a zip

Examples

Ready-to-zip sample apps (Streamlit, DuckDB-Wasm, Pyodide with its own runtime, an app with its own .wasm) are in a public Git repository: clone it, run ./make-zips.sh, or pycorner import a folder.

From a Git repository

New project → From a Git repository makes a project from a repository on any Git service (Codebahn, GitHub, GitLab, Forgejo/Gitea, Bitbucket, others): public ones need no token, private ones a token that may read them. Keep it connected and the project’s Changes → Git pulls and pushes later.

Zips in the browser

The same zips work without the terminal: New project → Import an app takes a .zip, and Share → Copies → Export .zip downloads one. An exported zip carries a pycorner.json with the app’s name, type and credit, so importing it again restores all three.