Quickstart#

Install the native package (Python 3.14):

pip install costa-core

Import and greet:

from costa import hello
print(hello("world"))  # Hello, world!

For local development, build and editable-install from costa_py/ with maturin (see the repository README).

Try it in the browser#

The REPL below runs costa in your browser via Pyodide and the wasm wheel. Wait for Ready — click Run, edit the code if you like, then click Run.

Loading Pyodide…