Skip to content
Snippets Groups Projects
Select Git revision
  • 620f8672f51c81b3054771b7c9d4ea775055ff35
  • master default protected
  • release
  • v0.4.4
  • v0.4.3
  • v0.4.2
  • v0.4.1
  • show
  • v0.4.0
  • v0.2.1
10 results

swa-models

user avatar
JuanPi Carbajal authored
620f8672
History

Python Module SWA-models

Utilities to run predictive models for:

  • Water consumption
  • Soil humidity

Installation

Hint

To avoid collisions with your system's library versions, use a python virtual environment for installation.

To install the module using pip run the following command:

pip install "git+https://gitlab.ost.ch/swa/swa-models.git"

You can check the installation of the module by running:

python -c 'import swa_models as swa; swa.describe()'

which will print some basic information about the module.

If you have a read token for the DB you can test the connection running the following command in a terminal:

swa_info <token>

Documentation

The documentation is hosted at http://swa.pages.gitlab.ost.ch/swa-models

To generate the documentation in a local copy of this repository, do the following:

pip install --upgrade -r requirements.txt

then:

cd doc
make html

The documentation will be generated in build/html/