Skip to main content

Add your description here

Project description

claude-ext

A thin wrapper around Claude Code that points it at alternative model backends (OpenRouter or a local Ollama server).

Install

uv tool install claude-ext

Usage

# OpenRouter
claudex "explain this repo" # CLAUDE_BACKEND=openrouter by default

# Ollama
CLAUDE_BACKEND=ollama claudex "explain this repo"

Any extra arguments you pass are forwarded straight to claude.

Configuration

Configuration is read from environment variables in $PWD/.env.

OpenRouter

Variable Required Default
OPENROUTER_API_KEY yes
OPENROUTER_MODEL no claude default

Ollama

Variable Required Default
OLLAMA_API_KEY no ollama
OLLAMA_BASE_URL no http://localhost:11434
OLLAMA_MODEL no qwen3.6

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

claude_ext-0.1.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

claude_ext-0.1.3-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file claude_ext-0.1.3.tar.gz.

File metadata

  • Download URL: claude_ext-0.1.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claude_ext-0.1.3.tar.gz
Algorithm Hash digest
SHA256 594e629bf6a846fd86f55c31be04175e5d91ea617de2ce41ea6be60d02df5fa5
MD5 5b8d9b91d56d6498f11b8b7aa23c969e
BLAKE2b-256 60fa10848d0df0ce9867164d8c777f3c8e10c3772ddd98121139ef5f6e585e2c

See more details on using hashes here.

File details

Details for the file claude_ext-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: claude_ext-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claude_ext-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 71836ad4b6f7021368b5730ee09b1b8cd3fc0429f74ae974ea1c0c62420f099c
MD5 c8e88a347f83b27611ef5b61a37f7749
BLAKE2b-256 a396dd549697a8625a5a10e0e60760e250bc66788e3790abee821971c4833b6d

See more details on using hashes here.

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