Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cofin/litestar-aiosql

Aiosql plugin for Litestar
https://github.com/cofin/litestar-aiosql

aiosql litestar litestar-api litestar-framework

Last synced: about 1 month ago
JSON representation

Aiosql plugin for Litestar

Awesome Lists containing this project

README

        

# Litestar Aiosql

> [!IMPORTANT]
> This plugin currently contains minimal features and is a work-in-progress

## Installation

```shell
pip install litestar-aiosql
```

## Usage

Here is a basic application that demonstrates how to use the plugin.

```python
from __future__ import annotations

from litestar import Litestar
from litestar_aiosql import AiosqlPlugin, AiosqlConfig

aiosql = AiosqlPlugin(config=AiosqlConfig())
app = Litestar(plugins=[aiosql])

```