The Python API gives you full control over the release note generation process, allowing custom workflows and integration with other tools.
When to use the Python API
Custom automation
Build custom release workflows tailored to your team’s needs
Integration
Integrate release notes into existing Python applications
Advanced customization
Customize formatting, filtering, and processing beyond CLI options
Programmatic control
Generate notes from within your application or script
Quick example
Here’s a minimal example to get you started:This example generates release notes for commits between two tags without any external dependencies.
Core modules
git_client
Interface with Git repositories and commit history
changelog
Build and structure changelog data
formatters
Render changelogs in different formats
Python API
Complete API reference and examples
Installation
Install HelixCommit via pip:Basic workflow
Initialize Git repository
Define commit range
Fetch commits
Build changelog
Render output
Advanced features
GitHub integration
Enrich changelogs with pull request data:AI summarization
Add AI-powered summaries:Custom formatting
Create custom output formatters:Type hints and IDE support
HelixCommit is fully typed with type hints for excellent IDE support:Error handling
Handle errors gracefully:Next steps
Python API reference
Complete API documentation
Git client
Working with Git repositories
Changelog builder
Building and structuring changelogs
Formatters
Rendering output in different formats