Skip to main content

A sample Python library called Guayaba

Project description

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

Project details


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.1.dev8.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

guayaba-0.1.dev8-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file guayaba-0.1.dev8.tar.gz.

File metadata

  • Download URL: guayaba-0.1.dev8.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for guayaba-0.1.dev8.tar.gz
Algorithm Hash digest
SHA256 211d95e1122620223af3c151ce9b1d6e4a55d7901a645a09ee4bdd8fdb23cca5
MD5 6fa53d122da87c3c5cc52520cedec6f3
BLAKE2b-256 99393a2f71c49007d3ecaa73eb94b91c5ccb5ed08431635b1a40a967caf20c3c

See more details on using hashes here.

File details

Details for the file guayaba-0.1.dev8-py3-none-any.whl.

File metadata

  • Download URL: guayaba-0.1.dev8-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for guayaba-0.1.dev8-py3-none-any.whl
Algorithm Hash digest
SHA256 b9c9c52820c73d071fff60f1763ced9738130a02a83f501ed50c71cc780a5466
MD5 a027bf0ad34a51cb1bd0aeffeb890ba8
BLAKE2b-256 01538fbbd14a8bf01e0de3865ba81fed29c3bd773be9aa126e4d62f1d14828eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page