depkeeper¶
Modern, intelligent Python dependency management for requirements.txt files.
Keep your dependencies up-to-date and conflict-free -- without switching from pip.
Why depkeeper?¶
Managing Python dependencies shouldn't be painful. While pip is simple and Poetry is powerful, depkeeper bridges the gap -- giving you smart automation without abandoning your existing workflow.
- Smart Updates
Automatically discover available updates with intelligent recommendations that respect semantic versioning boundaries.
- Safe by Default
Never accidentally cross major version boundaries. depkeeper keeps your environment stable while staying current.
- Conflict Resolution
Detect and resolve dependency conflicts before they break your builds.
- Fast & Concurrent
Async PyPI queries maximize performance. Check hundreds of packages in seconds.
- Multiple Formats
Output as beautiful tables, simple text, or JSON for seamless CI/CD integration.
- Pip Compatible
Works alongside pip, not instead of it. No need to change your workflow.
Quick Example¶
# Check for available updates
$ depkeeper check
Checking requirements.txt...
Found 5 package(s)
Package Current Latest Recommended Status
─────────────────────────────────────────────────────────
requests 2.28.0 2.32.0 2.32.0 Outdated (minor)
flask 2.0.0 3.0.1 2.3.3 Outdated (patch)
click 8.0.0 8.1.7 8.1.7 Outdated (minor)
django 3.2.0 5.0.2 3.2.24 Outdated (patch)
pytest 7.4.0 8.0.0 7.4.4 Outdated (patch)
✓ Found 5 packages with available updates
# Update all packages safely
$ depkeeper update
Updating requirements.txt...
Package Current → Recommended Type
─────────────────────────────────────────────
requests 2.28.0 → 2.32.0 minor
flask 2.0.0 → 2.3.3 patch
click 8.0.0 → 8.1.7 minor
Apply 3 updates? [y/N]: y
✓ Successfully updated 3 packages
Feature Comparison¶
| Feature | pip | Poetry | depkeeper |
|---|---|---|---|
| Simple workflow | ✅ | ⚠️ | ✅ |
| Dependency resolution | ❌ | ✅ | ✅ |
| Update recommendations | ❌ | ⚠️ | ✅ |
| Major version boundaries | ❌ | ❌ | ✅ |
| Conflict detection | ❌ | ✅ | ✅ |
| CI/CD friendly | ✅ | ✅ | ✅ |
| requirements.txt support | ✅ | ❌ | ✅ |
| No lock-in | ✅ | ❌ | ✅ |
Installation¶
What's Next?¶
Get up and running in 5 minutes with the essentials.
Deep dive into all features and workflows.
Integrate depkeeper programmatically.
Help make depkeeper even better.
Acknowledgments¶
Built with amazing open source libraries:
- Click -- CLI framework
- Rich -- Beautiful terminal formatting
- httpx -- Async HTTP client
- packaging -- PEP 440/508 compliance
Inspired by pip-tools, Poetry, and Dependabot.