Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cofin/litestar-aiosql
- Owner: cofin
- License: mit
- Created: 2023-10-02T04:35:25.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-17T16:30:38.000Z (about 2 months ago)
- Last Synced: 2024-09-17T20:44:53.360Z (about 2 months ago)
- Topics: aiosql, litestar, litestar-api, litestar-framework
- Language: Makefile
- Homepage:
- Size: 81.1 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-litestar - `litestar-aiosql` - A plugin for the [aiosql](https://github.com/nackjicholson/aiosql) database query builder.<sup>*</sup> (Third-Party Extensions / General)
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 annotationsfrom litestar import Litestar
from litestar_aiosql import AiosqlPlugin, AiosqlConfigaiosql = AiosqlPlugin(config=AiosqlConfig())
app = Litestar(plugins=[aiosql])```