Skip to main content

A CLI tool to safely update Poetry packages to their latest versions.

Project description

Poetry Update

poetry-update

License: MIT PyPI version

A command-line tool that simplifies Poetry package updates by performing safe, dependency-aware version bumps. Never worry about breaking your project's dependencies again!

Features

  • 🚀 One-command updates for single packages or entire projects
  • 🔍 Smart dependency conflict detection
  • ✨ Dry-run capability to preview changes
  • 📝 Detailed logging for transparency
  • 🔒 Maintains dependency compatibility across your project

Installation

pip install poetry-update

Usage

Update a single package:

poetry-update package-name

Update all packages in your project:

poetry-update --all

Available Options

  • --all, -a: Update all packages defined in pyproject.toml
  • --verbose, -v: Enable detailed logging output
  • --dry-run, -d: Preview updates without making changes
  • --help, -h: Show help message and exit

Examples

# Update a specific package
poetry-update requests

# Update all packages with verbose logging
poetry-update --all --verbose

# Preview updates without making changes
poetry-update --all --dry-run

Development

Want to contribute? Great! Here's how to set up the project for development:

# Clone the repository
git clone https://github.com/rawheel/poetry-update.git
cd poetry-update

# Install dependencies
poetry install

# Run tests
poetry run pytest

Why Poetry Update?

Poetry is an excellent tool for Python package management, but updating dependencies can sometimes be tricky. Poetry Update streamlines this process by:

  • Automatically checking for dependency conflicts before updating
  • Providing clear feedback about what will change
  • Offering a safety net with dry-run capabilities
  • Maintaining your project's dependency health

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.


Made with ❤️ by rawheel

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

poetry_update-0.1.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

poetry_update-0.1.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file poetry_update-0.1.2.tar.gz.

File metadata

  • Download URL: poetry_update-0.1.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/24.1.0

File hashes

Hashes for poetry_update-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9a6bffdaca1b69a2bbf13daf8cec041415e8a9dd4e7164d9d5b5decffa2bdf6f
MD5 7a44ee995e2ad4142036dd62f4fa1f01
BLAKE2b-256 f29af243943c8c0c6a413a23a700b014b35cb1ae642d8aa7be110a2f5fb1908a

See more details on using hashes here.

File details

Details for the file poetry_update-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: poetry_update-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Darwin/24.1.0

File hashes

Hashes for poetry_update-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1fa1ed033b78222daf4eee784460f5e0cd5a6b63279d6e767e804ef4ffa08095
MD5 59b92e3a9065d69a4a7e64655cbb8bee
BLAKE2b-256 98aef347516a2caa567e31eed7cab9fb413cced14d89e94fc41039e989921482

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