Real-time updates pulse through your application instantly.
No restarts, no downtime, just pure performance.
pip install vein
from vein import config
from vein.sources import from_env
# API key that auto-updates from environment
config.api_key = from_env("OPENAI_API_KEY")
# Use it anywhere - always fresh, no restart needed!
def call_ai(prompt):
response = openai.chat.completions.create(
api_key=config.api_key.value, # ✨ Always current
model="gpt-4",
messages=[{"role": "user", "content": prompt}]
)
return response
# Change OPENAI_API_KEY env var → next request uses new key automatically
# Zero downtime. Zero code changes. Zero restarts.
Everything you need for configuration management, nothing you don't
Configuration changes propagate instantly. No restarts, no downtime, no hassle.
31.7x faster than alternatives. Just 0.5μs per access with intelligent caching.
Full type hints and runtime validation. Works seamlessly with Pydantic.
First-class support for AppConfig, Parameter Store, and Secrets Manager.
Zero configuration required. Just import and use. Add complexity only when needed.
Plugin architecture for custom sources, validators, and caching strategies.
Built for serverless, optimized for speed