Thoth Python

This library provides routines for Python specific operations for project Thoth. An example of routines present in this library:

  • manipulating with project (see Project abstraction)

  • operations on top of requirements.txt files and/or Pipfile and Pipfile.lock files

  • operations for operating with Python package source indexes (PEP-0503 compatible simple repository API)

  • operations for Python packages (default and the development ones) and their in memory hierarchical structures

Installation

This package is available on PyPI. You can install it with pip or Pipenv:

pipenv install thoth-python

Running and testing

You can use Pipenv for managing this project and execute testsuite using setup.py’s test command:

# Clone this package:
git clone https://github.com/thoth-station/python.git thoth-python
cd thoth-python
pipenv install --dev
pipenv run python3 setup.py test