Metadata-Version: 2.4
Name: datasette-fixtures
Version: 0.1a0
Summary: Make the Datasette fixtures database available
Author: Simon Willison
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/datasette/datasette-fixtures
Project-URL: Changelog, https://github.com/datasette/datasette-fixtures/releases
Project-URL: Issues, https://github.com/datasette/datasette-fixtures/issues
Project-URL: CI, https://github.com/datasette/datasette-fixtures/actions
Classifier: Framework :: Datasette
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: datasette>=1.0a30
Dynamic: license-file

# datasette-fixtures

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

Make the Datasette fixtures database available

## Installation

Install this plugin in the same environment as Datasette.
```bash
datasette install datasette-fixtures
```

## Usage

Install the plugin in the same environment as Datasette and it will create a
named in-memory database called `fixtures` on startup.

```bash
datasette
```
Or to try it with `uvx` without first installing Datasette:

```bash
uvx --with datasette-fixtures datasette
```

The Datasette fixtures database will then be available at `/fixtures`.

## Development

To set up this plugin locally, first checkout the code. You can confirm it is available like this:
```bash
cd datasette-fixtures
# Confirm the plugin is visible
uv run datasette plugins
```
To run the tests:
```bash
uv run pytest
```
