Skip to main content

An automated Python package release management tool with AI-powered changelog generation

Project description

Python Release Master

A modern Python package release automation tool that handles everything from version bumping to publishing on PyPI.

Features

  • 🚀 One-command release process
  • 📦 Automatic package building and publishing with uv
  • 🤖 AI-powered changelog generation
  • 🔄 Automatic version bumping
  • 🎯 GitHub repository creation and release management
  • 📝 Smart defaults and minimal configuration

Requirements

  • Python 3.8+
  • GitHub CLI (gh) installed and authenticated
  • PyPI token in environment as PYPI_TOKEN
  • OpenAI API key in environment as OPENAI_API_KEY (optional, for AI features)

Installation

pip install python-release-master

Usage

Simply run the command in your package directory:

python-release-master

Options:

  • --debug or -d: Enable debug logging
  • --version or -V: Show version information and exit

This will:

  • Analyze changes and bump version
  • Generate changelog
  • Build and publish to PyPI
  • Create GitHub release

Configuration

Configuration is optional and automatically created with smart defaults. If you need to customize, create a .release-master.yaml file:

version:
  files: ["pyproject.toml", "src/my_package/__init__.py"]

changelog:
  ai:
    enabled: true
    model: "gpt-4o-mini"

github:
  auto_create: true
  private: false

pypi:
  publish: true

License

MIT

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

python_release_master-0.5.28.tar.gz (42.1 kB view details)

Uploaded Source

Built Distribution

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

python_release_master-0.5.28-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file python_release_master-0.5.28.tar.gz.

File metadata

File hashes

Hashes for python_release_master-0.5.28.tar.gz
Algorithm Hash digest
SHA256 768e679b0952c2f2090449023aa4053b1e53d4593d5df9302666c72c15781acb
MD5 ed0dff54d37f0bb370936641e2360737
BLAKE2b-256 08e26302fbc3303d417110158f555a2dd8c6da9f68a06bf71c706f84a07de462

See more details on using hashes here.

File details

Details for the file python_release_master-0.5.28-py3-none-any.whl.

File metadata

File hashes

Hashes for python_release_master-0.5.28-py3-none-any.whl
Algorithm Hash digest
SHA256 c1ed73b5e6a6a5bc023ec572da5bb3e812b3ef6a78590991b62d3778a8a3914e
MD5 529ccd3a9c92e75aaf8c9dc69d9b0d03
BLAKE2b-256 9e7ebf6638d283958d1a17e380051906bf041d5b8dc3b908a79b374085955c01

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