Skip to main content

devolv-commit

✨ Auto-generate meaningful, smart Git commit messages based on staged code changes.

No more git commit -m "fix stuff" — just run git dc, and you're done.


🚀 Features

  • 🔍 Analyzes staged diffs to understand your code changes
  • 🧠 Generates human-like commit messages
  • 🪝 Optional Git hook to auto-fill commit messages
  • ✅ Clean, professional output — no templates or fluff
  • ♻️ Follows Conventional Commits v1.0.0 for standardization
  • ⚡️ Blazing fast — not AI-powered, but built with a lean homegrown engine
  • 🧪 Test suite with coverage

📦 Installation

pip install devolv-commit

💡 Usage

Generate a commit message and commit it:

git dc

📥 Manually Install Git Hook (Optional)

Automatically generate a commit message when you run git commit:

git dc install-hook

This installs a prepare-commit-msg hook that fills in the message field. You can edit it before committing.


🧪 Testing

Run tests with coverage:

pytest --cov=devolv_commit --cov-report=term-missing

✅ Conventional Commit Support

We follow the Conventional Commits v1.0.0 standard to enhance changelogs, release notes, and CI workflows.

Example commit messages:

  • feat: add support for multi-file diffs
  • fix(core): handle edge case in parser
  • refactor(utils): clean up class detection logic

📜 License

MIT © Devolvdev

Download files

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

Source Distribution

devolv_commit-0.1.1.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

devolv_commit-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file devolv_commit-0.1.1.tar.gz.

File metadata

  • Download URL: devolv_commit-0.1.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for devolv_commit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1838e3ef7ee0c6d25c53add41f909c0928ccef76689448221c25723df74a6dd2
MD5 7eb6c01ce90c5ea57eb7840857ad653a
BLAKE2b-256 18300cccae8299089d6e34ee2dad85112905894a9ab145f88261b1f8c71287d6

See more details on using hashes here.

File details

Details for the file devolv_commit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: devolv_commit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for devolv_commit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 361af47b0d7bd2ef0be3bcfa5d74d11f994bbb85264b21b96d5b7b28d8130eff
MD5 d195b22aa1936deb7aa9fe7879c5cc10
BLAKE2b-256 6eb7e921daf6494fbbeeb260700ded9eae4a3f51c6aab1844155965fd7b34542

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

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