Skip to content

BVService/bvservice-backoffice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This set of scripts is for backoffice management of the BVservice web app, mainly for execution of simulations. It can be used as a python package or using the provided command line tool from a terminal.

Requirements

These scripts requires Python 2.7+ and the following python packages:

  • shutil
  • glob
  • argparse

It also requires that the following bvservice components are correctly installed:

  • LandProcessor library and simulators
  • OpenFLUID simulators for computation of indicators (bvservice-simulation)

Installation

From the sources directory, run the following pip command (with or without sudo depending on your privileges)

pip install .

Usage

Command line

To get more informations on how to use the command line tool, you can display the help:

BVservice-cli.py --help

Specific help can be obtained for both preparation and scenario subcommands

BVservice-cli.py preparation --help

or

BVservice-cli.py scenario --help

Python package

For using these scripts as a python package, the main entry point is the Manager class that can be imported using the following instructions in your python source code:

from bvservice import Manager

Development

Source code organization

The package source code is located in the bvservice directory.
The tests source code is located in the tests directory.
The command line tool is located in the root directory.

Tests

Run the nosetests tool from the source code root directory:

nosetests

For a more detailed execution of tests, you can add verbosity and stdout options:

nosetests --verbosity=3 -s

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors