Skip to main content

Tool and library for discovering package dependencies in PyPI world

Project description

Dependency solver used in Thoth project.

Project Scope

The aim of this project is to answer a simple question - what packages will be installed (resolved by pip) for the provided stack?

Imagine you have an application that has one dependency:

$ cat requirements.txt
tensorflow

This project will tell you how dependencies could be resolved:

thoth-solver -vvv pypi -r requirements.txt

The output can be found at here.

You can optionally also specify a list of indexes which should be checked for each package.

Installation and Deployment

git clone git@github.com:thoth-station/solver.git thoth-solver
cd thoth-solver
PYTHONPATH='.' ./thoth-solver-cli --help

This project is also released on PyPI, so the latest release can be installed via pip or Pipenv:

pipenv install thoth-solver

Solver is run in Thoth to gather information about package dependencies. You can find deployment templates in the openshift/ directory present in the root of solver’s Git repository. The actual deployment is done using Ansible playbooks available in the Thoth’s core repository.

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

thoth-solver-1.2.2.tar.gz (12.7 kB view hashes)

Uploaded Source

Built Distribution

thoth_solver-1.2.2-py3-none-any.whl (19.8 kB view hashes)

Uploaded Python 3

Supported by

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