Files
codex/sdk/python/README.md
pakrym-oai e05f333e55 Python sdk
2025-09-30 14:35:22 -07:00

721 B

openai-codex-sdk

A modern, minimalistic Python library project scaffold.

Features

  • PEP 621 pyproject.toml with hatchling build backend
  • src/ layout for package code
  • Preconfigured tooling: Ruff, MyPy, and Pytest
  • Ready for publishing to PyPI and local development

Getting Started

python -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -e .[dev]

Running Tests

pytest

Linting & Formatting

ruff check src tests
ruff format src tests
mypy src

Releasing

Update the version in src/openai_codex_sdk/__about__.py and pyproject.toml, then build and publish:

rm -rf dist
python -m build
python -m twine upload dist/*