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.25.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.25-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_release_master-0.5.25.tar.gz
Algorithm Hash digest
SHA256 736ab04d3fc19668a8de7b742c82b86b9244a4cedfbce12eba75a1573aacb05a
MD5 a585109215ee64c8921723c407dc003d
BLAKE2b-256 bd2828fdf32b79a5f4d07b1fa5e43ebb3a5cfa0eaebb7eee279c67aa93d1bc40

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_release_master-0.5.25-py3-none-any.whl
Algorithm Hash digest
SHA256 f3910e351121f8b8e9cab3db1e0c8fa40648981c99d6c05b23619ebea0bd3781
MD5 3abc1555f6037b2ff3ce9bbf8f31068c
BLAKE2b-256 07fa870408a847e74fc2bad190751639604f3c9d7ba36057f52f39d6c89eaca4

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