Skip to main content

A Python utility library with common components for building applications in the HAO ecosystem

Project description

haolib

Build better. Build faster. Build SOTA.

A Python meta-framework for building observable, durable, and flexible applications.

Documentation · Installation · Philosophy


Quick Start

uv add haolib
from haolib.entrypoints import HAOrchestrator
from haolib.entrypoints.fastapi import FastAPIEntrypoint
from fastapi import FastAPI

app = FastAPI()
entrypoint = FastAPIEntrypoint(app=app)

hao = HAOrchestrator().add_entrypoint(entrypoint)
await hao.run_entrypoints()

Principles

  • User Experience — Extremely convenient to use
  • Customizability — Fully extensible and declarative
  • Meta-framework — Works with any framework
  • SOTA — State-of-the-art toolkit
  • Implementation-agnostic — Replace any component
  • All-in-one — Single package, optional dependencies
  • 9/10 — Almost perfect. Almost.

Features

Entrypoints · FastAPI · FastStream · TaskIQ · FastMCP Storages · SQLAlchemy · S3 · Redis Pipelines · Composable data operations Security · JWT · Encryption · StackAuth Observability · OpenTelemetry · Logging · Metrics Background · Fair task queues · Scheduling


Full Documentation →

MIT OR Apache-2.0

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

haolib-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

haolib-0.1.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file haolib-0.1.1.tar.gz.

File metadata

  • Download URL: haolib-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for haolib-0.1.1.tar.gz
Algorithm Hash digest
SHA256 04d43d7f65c57795520b1082fb558ab7f7f1df98ce88c598afb8641ec894ab6f
MD5 07767322f9ba60be25cad9c59d16f6b6
BLAKE2b-256 73bf92fcc5b9d46bf62e9a090f2edb006d85fe1853079575e3c5debfa2f5a0f1

See more details on using hashes here.

File details

Details for the file haolib-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: haolib-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for haolib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 330e2bdff877a1c42b2ffe26c923a785b89910a4424b1cb8770fcae869b69aaf
MD5 a1a097cf4a805bdd04ad68dffaf787ce
BLAKE2b-256 81b6eb6989667249eedf30e30a040b8074b0feaa5189e1da2562782d42f1e874

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