Skip to content

Vectice

Vectice package.

The Vectice package is a library allowing data-scientists to record their progress in the Vectice app.

This package exposes essential Vectice classes and methods:

code_capture module-attribute

code_capture = True

Global code capture flag, enabled by default.

Code capture is triggered when registering a dataset or a model, and only works when a valid Git repository is found. Otherwise a warning is logged, telling what might be misconfigured in the repository.

Captured information include the repository name, URL, branch name, commit hash, and whether the repository is dirty (has uncommitted changes).

Examples:

To disable code capture globally:

>>> import vectice
>>> vectice.code_capture = False

To re-enable code capture globally:

>>> import vectice
>>> vectice.code_capture = True