Titanspan
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.
Install from source
Section titled “Install from source”Titanspan is a pre-alpha project and has not been published to PyPI. Clone the repository and install its locked development environment:
git clone https://github.com/titanspan/framework.gitcd frameworkuv sync --lockedRun the working ASGI example from the repository root:
uv run uvicorn --app-dir examples/hello-world app:app --reloadStart with an application
Section titled “Start with an application”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.asgiThe 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.
Understand the foundation
Section titled “Understand the foundation”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.
Explore and contribute
Section titled “Explore and contribute”- Getting started and the Hello World guide show the current workflow.
- Application architecture explains composition, application context, and lifecycle ownership.
- Explore configuration, the service container, contracts, Database, Queue, HTTP, Routing, logging, Collections, and Support.
- Read the architecture guide and engineering specifications.
- Contributors can read the agent workflow and engineering standards.
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.
