Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/litestar-org/litestar-piccolo
Litestar plugin for the Piccolo ORM
https://github.com/litestar-org/litestar-piccolo
Last synced: about 1 month ago
JSON representation
Litestar plugin for the Piccolo ORM
- Host: GitHub
- URL: https://github.com/litestar-org/litestar-piccolo
- Owner: litestar-org
- License: mit
- Created: 2023-11-17T19:05:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-17T19:10:30.000Z (about 1 year ago)
- Last Synced: 2024-08-03T17:12:34.391Z (4 months ago)
- Language: Python
- Size: 75.2 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-litestar - `litestar-piccolo` - A Piccolo ORM adapter for Litestar.<sup>*</sup> (Resources / Official Resources)
README
# Litestar Piccolo
## Installation
```shell
pip install litestar-piccolo
```or
```shell
pip install litestar[piccolo]
```## Usage
Here is a basic application that demonstrates how to use the plugin.
```python
from __future__ import annotationsfrom litestar import Litestar
from litestar_piccolo import PiccoloPlugin
piccolo = PiccoloPlugin()
app = Litestar(plugins=[piccolo])```