Skip to main content

Westie

Westie

A tiny, deterministic Git commit message generator.

Westie analyzes local Git changes and generates commit messages based on evidence from your code.

  • No AI.
  • No network.
  • No telemetry.
  • No dependencies.
  • No predefined message templates.

Why?

Writing commit messages is repetitive. Using an AI service to automate it can introduce unnecessary complexity, dependencies, and privacy concerns.

Westie explores a different approach: analyze what actually changed, understand the available evidence, and describe it without relying on a language model.

Everything happens locally.

How it works

Westie examines a Git diff and attempts to describe the changes it can identify.

Rather than simply listing modified files or counting changed lines, the goal is to derive meaningful descriptions from the differences themselves.

Westie is designed to be:

  • Deterministic: the same input produces the same output.
  • Local: your code stays on your machine.
  • Evidence-based: descriptions should reflect observable changes.
  • Minimal: a small tool that is easy to inspect, modify, and understand.

When the available evidence is insufficient, Westie should avoid inventing details.

Status

Westie is an experimental project in early development.

Its goal is to explore how useful commit messages can be generated through deterministic analysis rather than AI or a collection of hardcoded templates.

The quality of its output, supported languages, and analysis capabilities will evolve as the project develops.

Usage

Use westie on any repo.

Local API Server

You can now run a minimal OpenAI‑compatible API locally:

westie start        # Shortcut to launch the server
# or
westie --serve      # Equivalent flag

The server starts on http://0.0.0.0:54321 (a high, rarely‑used port) and provides two endpoints:

  • GET /v1/models – returns a list with the single model westie-1.
  • POST /v1/chat/completions – returns a commit‑message draft (or a static fallback when no Git repository is present).

Example request:

curl -X POST http://127.0.0.1:54321/v1/chat/completions \
     -H "Content-Type: application/json" \
     -d '{"model":"westie-1","messages":[{"role":"user","content":"Generate a commit message"}]}'

Use pip install --no-cache-dir --index-url https://pypi.org/simple/ Westie=={version} for update.

Philosophy

Software should not need an AI service to automate every small task.

Westie investigates whether a focused, transparent, and deterministic program can do one useful thing well: explain code changes in plain language.


Share Share Share Share Share

✨ Thanks for visiting Westie!

Views

Metadata

Release files for Westie 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Westie 0.1.6
File Size Uploaded Provenance
westie-0.1.6.tar.gz 24.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Westie 0.1.6
File Interpreter ABI Platform
westie-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 53.3 kB

Release files / westie-0.1.6.tar.gz

Download URL westie-0.1.6.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6785b2d8244219e174d5cabdb070680b8595bbf75afb344203d9c78a0d7e13cc
BLAKE2b-256 checksum
How to use checksums
b93fb0d6021a55a10389c4dc33bf912f4b5a4eb83cfddcb04b32b26ba84a3b2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / westie-0.1.6-py3-none-any.whl

Download URL westie-0.1.6-py3-none-any.whl
Size 28.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40477eb6ddc7a49102660c29e04fc1a9842b589976124c006c20236a567e10a4
BLAKE2b-256 checksum
How to use checksums
1cf9aa46b15a7c7f03ce0a2331ca43e2006272ea69a6447e94e6038a8e0e8c07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Security for Westie 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page