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.22.tar.gz (41.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.22-py3-none-any.whl (52.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_release_master-0.5.22.tar.gz
Algorithm Hash digest
SHA256 c3f6b32be2d982836d23ba6f636442d3bc146b7c1dd19a66957940641c35f740
MD5 799ac97eca43282a303b499a89ff26d7
BLAKE2b-256 ae72b77cf9bd6c6d021870459c0fffbd021a06076176d7c6c8fa85e730c6294f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_release_master-0.5.22-py3-none-any.whl
Algorithm Hash digest
SHA256 067f3edb1e45f486e5cf34e1afcd9e7d373c2133760bc146734078048341d220
MD5 1c0e0e7a794cc28c02b8944e9012fc5a
BLAKE2b-256 b91d9bdb0542caa86ecd14da8cfde5af6a7316a9bd06044f9fc253d57e00747b

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