Settings

Theme

Show HN: UniDep – Unify Conda and Pip Dependencies in Your Python Projects

github.com

3 points by basnijholt 3 years ago · 0 comments · 1 min read

Reader

I'm excited to share UniDep, a tool I've developed to simplify dependency management in Python. It's designed to streamline the process by allowing a single `requirements.yaml` file to handle both Conda and Pip dependencies.

Key features: - Unified handling of Conda and Pip dependencies. - Seamless integration with project tools like `pyproject.toml` and `setup.py`. - Support for monorepos: merge multiple `requirements.yaml` into a single `environment.yaml`. - Creates a global conda-lock file and consistent per sub-project conda-lock files. - Supports `pip-compile`. - Conflict resolution for complex dependencies. - Easy installation and integration with existing Python projects. - Support for different platforms and architectures.

UniDep is particularly helpful for large-scale projects or those involving multiple environments or platforms. It's open-source and available for contributions on GitHub: https://github.com/basnijholt/unidep

I hope this tool can help simplify the often complex world of Python dependency management, and I'm keen to hear feedback from the Hacker News community!

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection