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.1.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

thoth_solver-1.2.1-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thoth-solver-1.2.1.tar.gz
  • Upload date:
  • Size: 12.6 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.1.tar.gz
Algorithm Hash digest
SHA256 2d6ca5248a9f60ff357dca22c545ca284cc61532e744e7bf000b0aaf42f13dfa
MD5 bdde111c6d0f50143ebe0ff3a2954bc5
BLAKE2b-256 993cf99e397cbd75900dfe6c4d076094edf82013534bdd0816ef6bfbf4ad72ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thoth_solver-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 19.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c805d1ba7d4ca015addb50b000c426d813313d58fc64a9e6dbc5483fdcee07a
MD5 20042292fb9353ade5ef42fc84904621
BLAKE2b-256 94f1fe9d743d66f302ee469a71510cce9ba03501dee9aa7d3a5362d11119f528

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