The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
import os
TESTS_UNIT_DIR = os.path.dirname(os.path.abspath(__file__))
def test_every_directory_under_tests_unit_is_a_package():
missing = []
for root, dirs, _files in os.walk(TESTS_UNIT_DIR):
dirs[:] = [d for d in dirs if d != "__pycache__"]
if not os.path.isfile(os.path.join(root, "__init__.py")):
missing.append(os.path.relpath(root, TESTS_UNIT_DIR))
assert missing == []