| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Each example folder contains runnable versions:
All examples intentionally use only public SDK exports from openai_codex and openai_codex.types.
Examples use plain strings for text-only turns and typed input objects for multimodal or structured input lists.
Install the published SDK:
python -m pip install openai-codexThe SDK installs its pinned openai-codex-cli-bin runtime dependency. The pinned runtime version comes from the SDK package dependency.
Contributors using these checked-in scripts should install development dependencies from sdk/python:
uv sync --group dev
source .venv/bin/activateThe examples bootstrap local SDK imports from sdk/python/src. If the pinned runtime is not already installed, the bootstrap installs the matching runtime package for the active interpreter and cleans up temporary files afterward.
From sdk/python:
python examples/<example-folder>/sync.py
python examples/<example-folder>/async.pyThe checked-in examples use the local SDK source tree automatically.
python examples/01_quickstart_constructor/sync.py
python examples/01_quickstart_constructor/async.py| Back | FazBrowse Home | New Git URL |