An open API service indexing awesome lists of open source software.

https://github.com/thoth-station/python

Library for Python related code
https://github.com/thoth-station/python

artificial-intelligence dependencies hacktoberfest pipenv pipfile pypi thoth

Last synced: 9 months ago
JSON representation

Library for Python related code

Awesome Lists containing this project

README

          

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 on top of ``constraints.txt`` 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 `_:

.. code-block:: console

pipenv install thoth-python

Running and testing
===================

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

.. code-block:: console

# 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