Hectiq Lab

Projects

All experiments tracked by the Hectiq Lab are divided into and associated with projects.

Setting and getting a project

At the beginning each session, you should always specify the project in which your experiment is taking place.

from pyhectiqlab.functional import set_project

set_project("organisation/my-project")

Use the project getter methods to get the name of the project anywhere in your code.

from pyhectiqlab.functional import get_project

project_slug = get_project()

Creating a new project

To create a new project, you should only use the command-line interface.

hectiq-lab Project.create --name organisation/my-new-project
NameTypeDefaultDescription
namestrThe name of the project, which must be factored such that organisation/project.
repostrNoneThe git repository associated with the project.
force_no_git_diffboolTrueA flag that imposes no git diff upon requests.

Retrieving a project

To retrieve a project, or any information about it, use the CLI, the object-oriented or functional APIs.

from pyhectiqlab.functional import retrieve_project

info = retrieve_project(slug="organisation/my-project")

On this page