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 — 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

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.3.tar.gz (3.1 MB 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.3-py3-none-any.whl (306.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for haolib-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5c3fa55f946ae4a0a7eacbff085d622cc776948c8f0ec40ea7e3bfc5f4917a95
MD5 c157cfbe278cc21ba33fa876d0cfe7d6
BLAKE2b-256 c4cbc302dd7f8475f396c9a8c1cbfecade781c81a42d58e2b83dbd8adc92dc12

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for haolib-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 951c1f7c401eb0c6af5dc5cc1fcb28c7714f450c77360e3682725d01ff3922f4
MD5 8e5dddf60e372ae93ed3ddf27ec9860c
BLAKE2b-256 5548c171225b6107f12b9787c8f316bcad2227fb2a817e66771d9059065f56d7

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