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.4.tar.gz (25.8 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.4-py3-none-any.whl (36.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_release_master-0.5.4.tar.gz
Algorithm Hash digest
SHA256 00329e8b9ec375be346c9af12149bec6236d37e97bda979ca50bff2e9b7a8d45
MD5 c640d687f24cd7436e7cb3a3ec9b9023
BLAKE2b-256 45c1b2cf893da0609de39795770b35404e73b1af9b377478e4abc02e2d9769b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_release_master-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 40f102612acf374777a6710b3b1c0a9708928fef39879c07945942a58fa85917
MD5 c6a38bc01a05b17ab3a37ef7f8cdc8ab
BLAKE2b-256 ba90bf6bee22695a56ee5da4d6a9a8bc26d2dbc01126cbfb2b1e2708daff2bce

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