Metadata-Version: 2.4
Name: datasette-preact
Version: 0.0.1
Summary: Pre-bundled Preact for easy interactive JS Datasette plugins
Author: Alex Garcia
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/datasette/datasette-preact
Project-URL: Changelog, https://github.com/datasette/datasette-preact/releases
Project-URL: Issues, https://github.com/datasette/datasette-preact/issues
Project-URL: CI, https://github.com/datasette/datasette-preact/actions
Classifier: Framework :: Datasette
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: datasette
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-asyncio; extra == "test"
Dynamic: license-file

# datasette-preact

[![PyPI](https://img.shields.io/pypi/v/datasette-preact.svg)](https://pypi.org/project/datasette-preact/)
[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-preact?include_prereleases&label=changelog)](https://github.com/datasette/datasette-preact/releases)
[![Tests](https://github.com/datasette/datasette-preact/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-preact/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-preact/blob/main/LICENSE)

A Datasette plugin that pre-bundles [Preact](https://github.com/preactjs/preact), for other frontend-heavy Datasette plugins

## Installation

Install this plugin in the same environment as Datasette.
```bash
datasette install datasette-preact
```
## Usage

Usage instructions go here.

## Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd datasette-preact
python -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
python -m pytest
```
