A CLI tool to safely update Poetry packages to their latest versions.
Project description
Poetry Update
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a6bffdaca1b69a2bbf13daf8cec041415e8a9dd4e7164d9d5b5decffa2bdf6f
|
|
| MD5 |
7a44ee995e2ad4142036dd62f4fa1f01
|
|
| BLAKE2b-256 |
f29af243943c8c0c6a413a23a700b014b35cb1ae642d8aa7be110a2f5fb1908a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fa1ed033b78222daf4eee784460f5e0cd5a6b63279d6e767e804ef4ffa08095
|
|
| MD5 |
59b92e3a9065d69a4a7e64655cbb8bee
|
|
| BLAKE2b-256 |
98aef347516a2caa567e31eed7cab9fb413cced14d89e94fc41039e989921482
|