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

Quick Start

  1. Create a new package:

    release-master init my-package
    

    This will:

    • Create a new directory with your package name
    • Set up the package structure with smart defaults
    • Create a GitHub repository
    • Initialize git and push the first commit
  2. Release your package:

    cd my-package
    release-master release-package
    

    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, edit .release-master.yaml:

version:
  files: ["pyproject.toml", "src/my_package/__init__.py"]

changelog:
  ai:
    enabled: true
    model: "gpt-4"

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for python_release_master-0.4.9.tar.gz
Algorithm Hash digest
SHA256 2eb36a6b3744b36d75a0a0f433cdefd09b298a345f6f0fe4efa3a7750a0a5ce2
MD5 4ee7ba7377837fe92b45ccd6ba8eb9cd
BLAKE2b-256 218ced2f4b0eb5008059d0a4e0fb74ab71503bd461e232155fab1928e7e5efb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_release_master-0.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1e4f47de72c184864a930ddbe3e63caf4899e2c78a1cf16bdc5ed0d02b7f5276
MD5 9f7e4735b6865da092872005642dcf00
BLAKE2b-256 60ec579ef55095a3a02f7dd2b4a3f98a03aa90ca481ce79872f8b3d141cbdad9

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