Show HN: PipZap – Zapping the mess out of the Python dependencies
a year ago
- #PipZap
- #Dependency Management
- #Python
- PipZap is a command-line tool for optimizing Python dependency management by pruning redundant dependencies.
- It supports various dependency file formats like requirements.txt, uv's, or Poetry's pyproject.toml.
- PipZap outputs a minimal list of direct dependencies, removing those satisfied transitively.
- It leverages uv for dependency resolution to ensure a lean and functional dependency list.
- PipZap helps modernize dependency lists, making them easier to maintain and integrate.
- Features include dependency pruning, format auto-detection, flexible output formats, Python version handling, isolated resolution, and verbose logging.
- Installation is simple with pip: `pip install pipzap`.
- Example usage includes pruning dependencies from requirements.txt or pyproject.toml and outputting in different formats.
- PipZap is open for contributions, with guidelines for forking, installing dev dependencies, running tests, and submitting pull requests.
- Licensed under MIT License.