Toolkit of common functions used across GrimoireLab projects.
This package provides a library composed by functions widely used in other GrimoireLab projects. These function deal with date handling, introspection, URIs/URLs, among other topics.
- Python >= 3.8
You will also need some other libraries for running the tool, you can find the whole list of dependencies in pyproject.toml file.
There are several ways to install GrimoireLab Toolkit on your system: packages or source code using Poetry or pip.
GrimoireLab Toolkit can be installed using pip, a tool for installing Python packages. To do it, run the next command:
$ pip install grimoirelab-toolkit
To install from the source code you will need to clone the repository first:
$ git clone https://github.com/chaoss/grimoirelab-toolkit
$ cd grimoirelab-toolkit
Then use pip or Poetry to install the package along with its dependencies.
To install the package from local directory run the following command:
$ pip install .
In case you are a developer, you should install GrimoireLab Toolkit in editable mode:
$ pip install -e .
We use poetry for dependency management and packaging. You can install it following its documentation. Once you have installed it, you can install GrimoireLab Toolkit and the dependencies in a project isolated environment using:
$ poetry install
To spaw a new shell within the virtual environment use:
$ poetry shell
Licensed under GNU General Public License (GPL), version 3 or later.