Metadata-Version: 2.4
Name: guayaba
Version: 0.1.dev8
Summary: A sample Python library called Guayaba
Home-page: https://github.com/XLongLink/guayaba
Author: Sau1707
Author-email: your.email@example.com
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: fastapi
Dynamic: author
Dynamic: author-email
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Guayaba

Designed to create a backend for LLM to save informations with a predefined schema.

```bash
pip install guayaba
```

<br />

## Usage

Import the library and define the output directory for the generated files.

```python
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

```bash
uvicorn main:app --reload
```

<br />

## Development

Install the package in editable mode with the development dependencies:

```
pip install -e .
```

Run the example app with:

```bash
uvicorn example.main:app --reload
```

Run the tests with:

```bash
python -m unittest discover -s tests
```
