Metadata-Version: 2.4
Name: mash-api
Version: 0.1.0
Summary: OpenAPI service package for Mash applications
Author: imsid
License: Proprietary
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: mashpy>=0.1.2
Requires-Dist: fastapi>=0.115.0
Requires-Dist: uvicorn>=0.30.0
Provides-Extra: dev
Requires-Dist: pytest>=8.3.0; extra == "dev"
Requires-Dist: httpx>=0.27.0; extra == "dev"

# mash-api

OpenAPI service package for self-hosted Mash applications.

## Install

```bash
pip install mash-api
# or
pip install "mashpy[api]"
```

## Usage

```python
from mash_api import create_app
from my_app import definition

app = create_app(definition)
```

Run with Uvicorn:

```bash
uvicorn my_module:app --host 127.0.0.1 --port 8000
```

Or use the bundled CLI:

```bash
mash-api --app my_app:build_definition
```
