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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file thoth-solver-1.2.2.tar.gz.

File metadata

  • Download URL: thoth-solver-1.2.2.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/36.5.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

File hashes

Hashes for thoth-solver-1.2.2.tar.gz
Algorithm Hash digest
SHA256 97a7163a801bd65a0123533e4a0008a7d8a8da4212ee00d8b73998a1cabe6b4f
MD5 944d0fa666e8602092baf7ec766d06d9
BLAKE2b-256 045395fb83e12f7f1992f3358c4955d4aad8ff6e111577011ae0af1539446b72

See more details on using hashes here.

File details

Details for the file thoth_solver-1.2.2-py3-none-any.whl.

File metadata

  • Download URL: thoth_solver-1.2.2-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/36.5.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

File hashes

Hashes for thoth_solver-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7507e97f26966c7211f56018bb3df5263d49e8aa298057c89b28ffe5f3ba407b
MD5 6d2d9b32cf80c6a61270743e0b2a6c8a
BLAKE2b-256 780995297e5d355e2e3a94e212e209663768bfcc1f1f4873993d97274c966a11

See more details on using hashes here.

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