Skip to main content

create-caspian-app

Create a new Caspian app, a high-performance Python web framework built on FastAPI and the PulsePoint browser runtime.

The installer and application tooling use Python.

Caspian is in alpha. APIs and generated project structure may change as Caspian develops.

Create an app

With uv (recommended, nothing to install first):

uvx create-caspian-app my-app

Or install the command once:

uv tool install create-caspian-app     # or: pipx install create-caspian-app
create-caspian-app my-app

You'll be asked which features you want:

? What is your project named? (my-app)
? Would you like to use Tailwind CSS? y/N
? Would you like to use MCP (Model Context Protocol)? y/N
? Would you like to use Prisma ORM (Caspian DB)? y/N
? Would you like to use WebSocket? y/N

The installer writes the project, generates a .env with fresh secrets, runs uv sync --group dev, and builds the CSS. When Tailwind is on, it also downloads the pinned, checksum-verified Tailwind standalone compiler. Then:

cd my-app
uv run dev

uv run dev is a shortcut for uv run python main.py; both start the development server. The other everyday tools have short commands too; arguments pass through unchanged:

Command Same as Does
uv run dev uv run python main.py Start the development server
uv run restart uv run python settings/restart.py Apply edits: graceful restart of the dev server (--stop to stop)
uv run test uv run python settings/test.py Quality gate: ty, Ruff, templates, pytest
uv run format uv run python settings/format.py Format markup and Python (--check to report only)
uv run fix uv run python settings/fix.py Format, apply lint fixes, run the gate
uv run build uv run python settings/build.py Build CSS and validate sources (css, setup, --check)
uv run browser-log uv run python settings/browser_log.py Browser errors from the dev session
uv run generate uv run python settings/generate.py Add a component, route, layout, or route.py endpoint to the app

Skip the questions

Pass flags and -y. Only the flags you pass are turned on:

uvx create-caspian-app my-app --tailwindcss --mcp --prisma --websocket -y
uvx create-caspian-app my-app --prisma --websocket -y
Flag Feature
--tailwindcss Tailwind CSS v4 via the standalone compiler
--mcp MCP server mounted in FastAPI (src/lib/mcp)
--prisma Caspian DB: prisma/schema.prisma + generated Python client
--websocket Named sockets (src/lib/websocket)
--skip-install Write files only; skip uv sync and the CSS build
-y No prompts

Update an existing app

Run this from the project folder:

uvx --from create-caspian-app casp update project          # latest
uvx --from create-caspian-app casp update project 0.0.1    # a specific version

Running create-caspian-app <name> inside a folder that has a caspian.config.json does the same. The update refreshes the Caspian template files and asks about any features that aren't enabled yet. It removes the files of features you turn off and re-pins the managed dependencies.

An update never overwrites:

  • .env
  • pyproject.toml (only the managed requirements are re-pinned, with uv add / uv remove)
  • uv.lock
  • src/app/globals.css (only the Tailwind directives are added or removed)
  • prisma/
  • any path listed in caspian.config.json → "excludeFiles"

Everything else that comes from the template, such as src/app/index.py, gets overwritten. Add the files you've customized to excludeFiles first.

Requirements

  • Python 3.14+ for the installer and generated apps. uv can download Python 3.14 if it is missing.
  • uv. If it's missing, the installer tries python -m pip install uv.

Metadata

Release files for create-caspian-app 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for create-caspian-app 0.0.6
File Size Uploaded
create_caspian_app-0.0.6.tar.gz 630.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for create-caspian-app 0.0.6
File Interpreter ABI Platform
create_caspian_app-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / create_caspian_app-0.0.6.tar.gz

Download URL create_caspian_app-0.0.6.tar.gz
Size 630.1 kB
Tags Source
SHA-256 checksum
How to use checksums
68bc44695311553a3a9939e89f210f64391b639c6e5ffba6577a6a64256f7002
BLAKE2b-256 checksum
How to use checksums
e5597325f4efb487d9ab0254191a50ebdad36fb1997281e6d81913dfa7e176e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / create_caspian_app-0.0.6-py3-none-any.whl

Download URL create_caspian_app-0.0.6-py3-none-any.whl
Size 665.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6d94c79f6382a8c5c794588eda642c45865aaabc7e6656da658fd59c4c18394
BLAKE2b-256 checksum
How to use checksums
e0bd16cef880c4c427042eeca5cc49ad01a6152bfa824fbebc82b026631ff758
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.0.16

2 release files

0.0.15

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page