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.0.0.tar.gz (6.3 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.0.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

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

Hashes for guayaba-0.0.0.tar.gz
Algorithm Hash digest
SHA256 b7da888ac4fe8df641c2dec9aae2be5c264c4c1c3ba1dd4054e6ab0b632897fd
MD5 5d477947a2b998c0bed20efcf3fc0cf1
BLAKE2b-256 7c8c82520b66f5b1227d8604d30bdbbfd147c92031d7ab76fe53aafacd8ad800

See more details on using hashes here.

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

Hashes for guayaba-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f69332a29de379998526463fc8bb7551823c99fa4e6a6165ed4ff134fa9a7227
MD5 b577393199470f3ba367c721e595ad31
BLAKE2b-256 dad889b46bd9bbd6b58861613c1e544585cd97bac811e3181bb1ff1813b83e67

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