Guayaba
Designed to create a backend for LLM to save informations with a predefined schema.
pip install guayaba
Usage
Import the library and define the output directory for the generated files.
import guayaba as guba
app = guba.get_app("docs")
@guba.dataclass("/hello/{id}")
class User:
id: int
name: str
tags: list[str]
Then run with
uvicorn main:app --reload
Development
Install the package in editable mode with the development dependencies:
pip install -e .
Run the example app with:
uvicorn example.main:app --reload
Run the tests with:
python -m unittest discover -s tests
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
guayaba-0.0.0.tar.gz
(6.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file guayaba-0.0.0.tar.gz.
File metadata
- Download URL: guayaba-0.0.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7da888ac4fe8df641c2dec9aae2be5c264c4c1c3ba1dd4054e6ab0b632897fd
|
|
| MD5 |
5d477947a2b998c0bed20efcf3fc0cf1
|
|
| BLAKE2b-256 |
7c8c82520b66f5b1227d8604d30bdbbfd147c92031d7ab76fe53aafacd8ad800
|
File details
Details for the file guayaba-0.0.0-py3-none-any.whl.
File metadata
- Download URL: guayaba-0.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f69332a29de379998526463fc8bb7551823c99fa4e6a6165ed4ff134fa9a7227
|
|
| MD5 |
b577393199470f3ba367c721e595ad31
|
|
| BLAKE2b-256 |
dad889b46bd9bbd6b58861613c1e544585cd97bac811e3181bb1ff1813b83e67
|