Skip to content

rawheel/poetry-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Update all your poetry packages in a single run

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages