Skip to main content

Python SDK wrapper around codex exec with bundled skill/docs scaffolding CLI.

Project description

codex-local-sdk-python

PyPI Version Python Versions Unit Tests License

codex-local-sdk-python packages this repository's local codex_local_sdk module as an installable PyPI distribution and adds a companion CLI:

  • codex-sdk skill copies the bundled codex-local-sdk-usage skill to .agents/skills/.
  • codex-sdk docs copies bundled documentation to codex-sdk-documentation/.

Project policies:

  • Contributing: CONTRIBUTING.md
  • Security: SECURITY.md
  • License: LICENSE (MIT)

Install

pip install codex-local-sdk-python

Python usage

from codex_local_sdk import CodexExecRequest, CodexLocalClient

client = CodexLocalClient()
result = client.run(CodexExecRequest(prompt="Summarize this repo"), timeout_seconds=120)
print(result.final_message)

CLI

codex-sdk --help
codex-sdk skill
codex-sdk docs

Command details:

  • codex-sdk skill copies codex-local-sdk-usage to .agents/skills/
  • codex-sdk docs copies docs to codex-sdk-documentation/
  • use --output <dir> to choose destination root
  • use --force to overwrite existing files

Examples:

codex-sdk skill --output .
codex-sdk docs --output .
codex-sdk skill --output /path/to/project --force

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codex_local_sdk_python-0.1.4.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codex_local_sdk_python-0.1.4-py3-none-any.whl (58.1 kB view details)

Uploaded Python 3

File details

Details for the file codex_local_sdk_python-0.1.4.tar.gz.

File metadata

  • Download URL: codex_local_sdk_python-0.1.4.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for codex_local_sdk_python-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a14a7edff5af14aa4dc4c354d4238075c4d6122108569d1b97beaac26da14b95
MD5 62702077654fc14cd6b2774fa082e575
BLAKE2b-256 895e6d89a7d17884f67b221cfe4a42f09012ccb1915a92ebe4e11b19276ead77

See more details on using hashes here.

Provenance

The following attestation bundles were made for codex_local_sdk_python-0.1.4.tar.gz:

Publisher: publish-pypi.yml on maestromaximo/codex-local-sdk-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file codex_local_sdk_python-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for codex_local_sdk_python-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee2ab9729eeee8b0fdab4caba625d919745721468cae11b60acba8295b7f826
MD5 93700e04b4b3650f4c6d4379dbde35ac
BLAKE2b-256 6cfc4849768a0b3a0554903717e8f0046022c424301538d2b7994a2f6856212c

See more details on using hashes here.

Provenance

The following attestation bundles were made for codex_local_sdk_python-0.1.4-py3-none-any.whl:

Publisher: publish-pypi.yml on maestromaximo/codex-local-sdk-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page