Skip to content
@pywire

pywire

pywire

The Live Conduit for Python

pywire is an HTML-over-the-wire web framework for Python. The server renders HTML and streams DOM updates to the browser over WebSocket, so you get an interactive app without writing JavaScript, a JSON API, or client state sync.

Pages and components are .wire files: Python, HTML, CSS and optional JS in one file.

---
count = wire(0)
---
<button @click={count += 1}>Clicked {count} times</button>

Quick start

Use whichever tool you already have. All three launch the same wizard:

uvx create-pywire-app                              # uv (recommended)
npx create-pywire-app                              # Node.js, installs uv if missing
curl -fsSL https://pywire.dev/install | sh         # neither: installs uv, then the wizard

On Windows (PowerShell): irm https://pywire.dev/install.ps1 | iex

Where things live

Everything except the marketing site is developed in one monorepo.

Repository What it holds
pywire/pywire Core framework, parser, CLI, auth, language server, VS Code extension, Prettier plugin, tree-sitter grammar, create-pywire-app, docs and examples. Issues go here.
pywire/pywire.dev The pywire.dev marketing site and its infrastructure.

The older standalone repositories (pywire-core, pywire-language-server, vscode-pywire, prettier-plugin-pywire, tree-sitter-pywire, create-pywire-app, examples, pywire-workspace) are no longer updated. Their code now lives in the monorepo.

Links

Licensed under Apache-2.0.

Popular repositories Loading

  1. pywire pywire Public

    pywire monorepo

    Python 2

  2. pywire.dev pywire.dev Public

    Official website and infrastructure source for the pywire project.

    Astro 1

  3. .github .github Public

    Organization-wide community health files, including contributing guidelines and issue templates.

  4. pywire-shell pywire-shell Public

    Rust

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…