envcheck.py
Execute the Python Envcheck test next to your main app logic to verify the behavior.
Missing env vars should crash the process immediately. We handle that failure mode here without dragging in heavy third-party packages. Keeping the dependency tree small matters when you are watching token costs and cold start times.
The Python Envcheck script uses only the standard library. You will not need to install any external services or extra pip packages.
Do I need anything besides INFRAI_API_KEY?
No. You only need python3 and your API key. The envcheck.py request uses standard HTTPS. This keeps you off proprietary SDKs and prevents version drift issues. That covers the entire dependency tree for this setup.