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.4.15.tar.gz (29.9 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.4.15-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_release_master-0.4.15.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for python_release_master-0.4.15.tar.gz
Algorithm Hash digest
SHA256 f636577cff9f295fc6e7790adc072073ea216a152e439834a89c27310b36db47
MD5 c900dc4aed8daea6c35b7e7277a0a4d5
BLAKE2b-256 6d953f099062ed3ae268ba57bdeefe4855945f096897140d4ca668318178a3f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_release_master-0.4.15-py3-none-any.whl
Algorithm Hash digest
SHA256 43018f67b8c8f5dcaa9dc2b5256917a98808fdc20b5e63f5fda60cd5d50b599d
MD5 53d3f3d4e144bfaf1902bd1e397a412d
BLAKE2b-256 f5bb3808bf8afbbc7593df9dcff2e4ec4fe137cedfa46fdc046e4bd7b312b43f

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