Metadata-Version: 2.3
Name: kiln-server
Version: 0.5.0
Summary: Kiln AI Server
Project-URL: homepage, https://getkiln.ai
Project-URL: repository, https://github.com/Kiln-AI/kiln
Project-URL: documentation, https://github.com/Kiln-AI/kiln#readme
Author-email: "Steve Cosman, Chesterfield Laboratories Inc" <scosman@users.noreply.github.com>
License: 
        All rights reserved.
        
        Copyright (c) Steve Cosman, Chesterfield Laboratories Inc.
License-File: LICENSE.txt
Requires-Python: >=3.10
Requires-Dist: fastapi>=0.115.4
Requires-Dist: httpx>=0.27.2
Requires-Dist: kiln-ai>=0.5.1
Requires-Dist: pydantic>=2.9.2
Requires-Dist: python-dotenv>=1.0.1
Requires-Dist: uvicorn>=0.32.0
Description-Content-Type: text/markdown

# Kiln AI Server

[![PyPI - Version](https://img.shields.io/pypi/v/kiln-server.svg)](https://pypi.org/project/kiln-server)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/kiln-server.svg)](https://pypi.org/project/kiln-server)

---

## About

The Kiln AI Server is a Python library that provides a REST API server for the Kiln AI datamodel.

See our [website](https://getkiln.ai) for more information.

## Installation

```console
pip install kiln_server
```

## API Docs

Our OpenApi docs: [https://kiln-ai.github.io/Kiln/kiln_server_openapi_docs/index.html](https://kiln-ai.github.io/Kiln/kiln_server_openapi_docs/index.html)

## Running the server

```console
python -m kiln_server.server
```

With auto-reload:

```console
AUTO_RELOAD=true python -m kiln_server.server
```

## Using the server in another FastAPI app

See server.py for examples, but you can connect individual API endpoints to your app like this:

```python
from kiln_server.project_api import connect_project_api

app = FastAPI()
connect_project_api(app)
```
