Type-safe, async-native, and Pydantic-ready. Manage app configs across environments with zero downtime.
pip install app-config-json
Initialize the client, fetch your config, and start shipping.
Designed alongside FastAPI, Django, and Celero workflows.
Native async/await support. Integrates seamlessly with FastAPI, aiohttp, and Quart without blocking the event loop.
Drop your Pydantic models directly into get_config(). Automatic parsing, validation, and error handling out of the box.
Receive live config updates via WebSocket or HTTP webhooks. Restart nothing, deploy features instantly.
L2/L3 cache layers with TTL controls, stale-while-revalidate, and offline fallback for edge/lambda deployments.
Everything you need to interact with the App Config.json platform.
| Method | Description | Returns |
|---|---|---|
| async get_config(env, model=None) | Fetches configuration for the specified environment. Validates against optional Pydantic model. | BaseModel | dict |
| async watch(env, callback) | Opens a persistent WebSocket connection. Triggers callback on live config updates. | async_iterator |
| get_fallback(env, key, default=None) | Sync-safe fallback resolver for synchronous contexts (Django, Celery). | Any |
| validate_schema(schema_dict) | Validates a config payload against your registered JSON schema. Returns detailed errors. | ValidationResult |
Join 2,000+ Python teams using App Config.json to manage feature flags, secrets, and environment settings.