Skip to main content

Automate packaging and releasing Python packages to PyPI with version management and git integration

Project description

Coaxial PIP Packager

A streamlined tool to automate the packaging and releasing of Python packages to PyPI.

Features

  • Automatic Version Management: Detects current version and suggests increments
  • Smart Version Updates: Updates version strings in all relevant project files
  • Git Integration: Commits and pushes version changes
  • PyPI Publishing: Builds and uploads packages to PyPI
  • Revert Support: Can revert version changes if needed
  • Test Mode: Preview changes without modifying files

Installation

pip install coaxial-pip-packager

Usage

# Basic usage - interactive mode
coaxial-pip-packager

# Skip git and publishing steps
coaxial-pip-packager --no-upload

# Only upload existing build
coaxial-pip-packager --only-upload

# Test mode to see what would change
coaxial-pip-packager --test

# Revert the last version update
coaxial-pip-packager --revert

# Create a default configuration file
coaxial-pip-packager --create-config

Requirements

  • Python 3.7 or higher
  • Git (for version control operations)
  • PyPI account with token (for publishing)

Configuration

Create a default configuration file:

coaxial-pip-packager --create-config

This creates a configuration file at ~/.coaxial-pip-packager/config.toml where you can:

  • Customize file patterns for version detection
  • Configure directories to exclude from processing
  • Set default preferences for confirmations and automation

Environment Variables

  • GITHUB_TOKEN: GitHub token for git operations
  • PYPI_TOKEN: PyPI token for publishing

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

coaxial_pip_packager-1.0.0.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

coaxial_pip_packager-1.0.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file coaxial_pip_packager-1.0.0.tar.gz.

File metadata

  • Download URL: coaxial_pip_packager-1.0.0.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for coaxial_pip_packager-1.0.0.tar.gz
Algorithm Hash digest
SHA256 473e7b05f305de09820cfabccbdf2e318ada2023a4a2f6bfa4285af416f5c3c2
MD5 3c10510ee2bf9fb080b7f0ba3795d9a9
BLAKE2b-256 247e6eb35b00d146ab18180e73e6b9850d8d5ca8912032e2a3f01bb72e9ad150

See more details on using hashes here.

File details

Details for the file coaxial_pip_packager-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for coaxial_pip_packager-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e8a1d116cb034a24ddb90b33d3226d4ae80b8128df359525ba91a2798553933c
MD5 9cddeca2136d2045e2ce927f52971f1c
BLAKE2b-256 94f1db22b3ac0e257fb2e551546a6db48c3fa6bd5ce75747c499e45e1593e05b

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