Metadata-Version: 2.4
Name: tw-framework
Version: 0.9.28
Summary: TW framework CLI with create, dev, build, and deploy commands
Author: TW MRMK, TW MLKRAJ, TW ASLAM, TW BADAL, TW ROHIT, TW RISHU
Keywords: tw,tw-framework,twlang,framework,cli,static-site
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=7; extra == "dev"
Provides-Extra: image
Requires-Dist: Pillow>=10; extra == "image"
Provides-Extra: compression
Requires-Dist: brotli>=1.0; extra == "compression"
Provides-Extra: edge-v8
Requires-Dist: py_mini_racer>=0.6; extra == "edge-v8"
Provides-Extra: redis
Requires-Dist: redis>=4; extra == "redis"
Provides-Extra: wasm
Requires-Dist: wasmtime>=10; extra == "wasm"
Provides-Extra: all
Requires-Dist: Pillow>=10; extra == "all"
Requires-Dist: brotli>=1.0; extra == "all"
Requires-Dist: py_mini_racer>=0.6; extra == "all"
Requires-Dist: redis>=4; extra == "all"
Requires-Dist: wasmtime>=10; extra == "all"
Dynamic: license-file

# TW Framework

A Python-based full-stack web framework with App Router, Zero-JS static sites, multi-runtime API routes, and a custom DSL for pages, components, and layouts.

## Quick Start

```bash
pip install tw-framework
tw create my-site
cd my-site
tw build
```

## Features

- Custom DSL: `.tw` pages/components/layouts, `.tss` stylesheets, `.twm` API routes
- App Router with nested layouts, dynamic routes, catch-all, route groups
- Zero-JS static sites
- Multi-Runtime: Node.js, Edge V8, Python, WASM
- Reactive state management with Virtual DOM
- Streaming SSR with skeleton loaders
- Incremental Static Regeneration (ISR)
- Partial Prerendering
- Server Actions with CSRF support
- Plugin system with `.twp` format
- CLI: create, dev, build, export, preview, serve, deploy

## Installation

```bash
pip install tw-framework
pip install tw-framework[dev]
pip install tw-framework[image]
```

## License

MIT

## Authors

See `pyproject.toml` for the full list of contributors.
