Skip to main content

Diffsay

Generate a Conventional commit message from the staged git diff, locally with MLX.

Requires Python 3.10+ and Apple silicon.

Install

uv tool install diffsay

Or from this repo:

uv tool install .

Usage

git add .
diffsay

Prints one Conventional Commit subject line on stdout.

Default model is Qwen2.5-Coder-7B-Instruct-4bit. Bare names resolve under mlx-community/.

diffsay -m Qwen2.5-Coder-1.5B-Instruct-4bit

Develop

uv sync
uv run ruff check src tests
uv run pytest

Metadata

Release files for diffsay 0.1.0

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

Source distribution (sdist)

Source distribution for diffsay 0.1.0
File Size Uploaded
diffsay-0.1.0.tar.gz 78.5 kB Details

Built distribution (wheel)

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

Total release size: 83.4 kB

Release files / diffsay-0.1.0.tar.gz

Download URL diffsay-0.1.0.tar.gz
Size 78.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5d078bd883cc23c4d2a9153396c408536a6084172dfd836c15ef7369df3b4273
BLAKE2b-256 checksum
How to use checksums
efd06cbcda6cd1d6c6c5ecd352c4b7e524711dc884c07e7cff07d14bda02f165
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / diffsay-0.1.0-py3-none-any.whl

Download URL diffsay-0.1.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0a6d265c202846da5eb7fd9fcfb7a904e4552e873477a9c4c3631c6bf62648d
BLAKE2b-256 checksum
How to use checksums
d0ecf28a8aebdde92af0c3f5113a8606884f09e4425e10e5e1be500250e51fae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.0 This release

2 release files

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