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.9.tar.gz (27.6 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.9-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_release_master-0.5.9.tar.gz
Algorithm Hash digest
SHA256 7885ed74fe53087e8aaea298a17a030f659c2d79d1e699238adc4b42f893fe2c
MD5 5343fbb18e9cf82c9b67f16c68df0cc0
BLAKE2b-256 c04d03522fc585e629dcaa1bf3b1f638a0109061618d08c67bce5122070de3d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_release_master-0.5.9-py3-none-any.whl
Algorithm Hash digest
SHA256 339aaddbd5bf129831134b5c4fcffaaf67b4593c28c01638627a77e12326661c
MD5 a869726fda72d57a6e1e915861701570
BLAKE2b-256 d73a100b34c091116350cefd3395d0766bb03e154e44ee4fc5f48dd2cd31deca

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