Skip to content

Titanspan

Engineer beyond limits.

Titanspan is an async-first Python application framework for building intelligent systems. Its implemented foundation brings application lifecycle, service composition, configuration, logging, dependency resolution, and native routing under one cohesive application API.

Titanspan is a pre-alpha project and has not been published to PyPI. Clone the repository and install its locked development environment:

Terminal window
git clone https://github.com/titanspan/framework.git
cd framework
uv sync --locked

Run the working ASGI example from the repository root:

Terminal window
uv run uvicorn --app-dir examples/hello-world app:app --reload

Application composes Titanspan services and exposes the current FastAPI integration through its ASGI boundary:

from titanspan import Application
application = Application(
config={"app": {"name": "service-api"}},
)
app = application.asgi

The application owns its native container, provider lifecycle, and shared execution context. Titanspan Routing owns route definitions and dispatch; FastAPI and Starlette provide the underlying ASGI adapter.

Application construction registers configuration and logging providers in one native service container. The application lifecycle starts providers and finalizes owned resources; context-local state connects service resolution, facades, and request handling. Established Python libraries provide the underlying dependency resolution, HTTP hosting, settings validation, and structured logging mechanisms.

Configuration, the service container, contracts, HTTP, Routing, logging, Collections, Support, Database, and Queue are implemented. AI workflows and high-throughput data processing remain planned. See the roadmap for current status.

Titanspan is open source under the MIT License. Visit the GitHub repository to explore the code, report issues, or contribute. See the contribution guide for the project workflow.