On this page
  1. carets
  2. Role
  3. Install
  4. Quickstart
  5. When to Reach for It
  6. Gotchas & Pitfalls
  7. Pairs With
  8. Metadata

carets

Prev: expose-api | Up: projects | Next: spatial-ui
Rel: wispsy, Frameworks, hypnosis, escape-colors
Ref: wispsy on GitHub
Tags: #public #wispsy #project #frameworks #tier/core


Role

A lightweight, dependency-free Python 3.10+ asyncio terminal UI toolkit featuring incremental ANSI input parsing, immutable components, named zones, forms, Command.stream, and a cell-diffing renderer with DEC synchronized output.

Install

pip install carets==0.2.0

Quickstart

import asyncio
from carets import Program
from carets.components import TextInput

async def main():
    model = TextInput(placeholder="Type here")
    await Program(model).run()

asyncio.run(main())

When to Reach for It

Gotchas & Pitfalls

Pairs With


Metadata

type: project-card
slug: carets
org: wispsy
repo: wispsy/carets
package: carets
version: 0.2.0
requires_python: ">=3.10"
layer: frameworks
topic: wispsy-framework
status: active
language: python
source_docs: README.md, docs/

Linked from

Related notes