Skip to main content

A smart dependency resolver for Python data science projects.

Project description

PyResolve 🧩

PyResolve is an intelligent Python dependency resolver designed to tackle the complex compatibility challenges of data science and machine learning environments.

It navigates "dependency hell" by analyzing the entire dependency graph for your project, including nested and conditional dependencies, and uses a backtracking algorithm to find a set of package versions that are guaranteed to be compatible with each other.


## The Problem

Ever seen errors like these?

  • ModuleNotFoundError: No module named 'requests'
  • InvalidVersion: Invalid version
  • A long traceback caused by conflicting versions of numpy.

These issues arise when different packages in your project require incompatible versions of the same underlying library. PyResolve is built to solve this problem automatically.


## How to Use

  1. Create a target.txt file in your project's root directory. List the high-level packages you want to use, one per line.

    # target.txt
    
    pandas
    tensorflow
    scikit-learn
    matplotlib
    
  2. Run PyResolve. From your terminal, simply run the pyresolve command.

    pyresolve
    
  3. Get Your Results. PyResolve will do the hard work and generate a complete, stable requirements.txt file for you. You can then install it with confidence.

    pip install -r requirements.txt
    

## Features

  • Deep Graph Traversal: Explores the entire dependency tree, not just top-level requirements.
  • Intelligent Conflict Resolution: Uses a backtracking solver to find a working set of versions, even with complex conflicts.
  • Environment Aware: Understands conditional dependencies and only resolves packages that are compatible with your Python version and OS.
  • Fast Caching: Caches package metadata locally to make subsequent runs feel instant.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

depweaver-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

depweaver-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file depweaver-0.1.0.tar.gz.

File metadata

  • Download URL: depweaver-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for depweaver-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e3e906e85e11698541da046e68892a1edfe8c6a4b8d8a934e47a370e54d1850
MD5 cec5313ca6c470f7344cbc42f08d39e8
BLAKE2b-256 7d1afb7e45339486a5b277a087a89a07e05c6ea4eb32fbea8648bdab29e44da0

See more details on using hashes here.

File details

Details for the file depweaver-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: depweaver-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for depweaver-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c6d72999b4603c67477d39b685ee36873449422a5af36ae3c5512d86ae0e53f
MD5 2e6e71f4e9c22a982807907f9cbc39f5
BLAKE2b-256 60f7f540e3dcb933777a0c8df0494b20a8d0f213a97f9cd304d6baa734ce475d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page