Skip to content
/ haolib Public

A Python all-in-one library with flexible utilities to create scalable and easy-to-work-with applications.

Notifications You must be signed in to change notification settings

hao-vc/haolib

Repository files navigation

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 — Solves high-level problems
  • SOTA — State-of-the-art toolkit
  • Implementation-agnostic — Replace any component
  • 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

About

A Python all-in-one library with flexible utilities to create scalable and easy-to-work-with applications.

Topics

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages