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.2.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.2-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: haolib-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 9380267d8ed63156c043e03d73fccef0c6c4ededc0c558bd9807477a851d28cd
MD5 cfc5da2a2c8cfb174f9788992cfbc36c
BLAKE2b-256 5a2018b991beb7818327354fea7af21f0633d454d4367fd9b0b652fcd203aca2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: haolib-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bd06d22d38d0623358b2cc546677db8d4d3ca015b141819059de048298481db6
MD5 ae951a956fe7f0912876ff384d224acc
BLAKE2b-256 0bae5990a51f9886f39e67e1211a79b9c7e7eba012f5fa0f68b5c835b98cf54f

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