Skip to main content

SST Hierarchical Composition Tool

Project description

SST Hierarchical Composition Tool

Installation

The application runs on the micro web framework, Flask, which can be installed through pip:

pip install flask

Basic configurations are required to set up Flask and run the application. The following environment variables must be set:

export FLASK_APP=app/__init__.py
export FLASK_ENV=development

To avoid setting these variables every time, use Python-dotenv. Install through pip

pip install python-dotenv

and save a file named .env in the root directory with the following content:

FLASK_APP=app/__init__.py
FLASK_ENV=development
DEBUG=True
FLASK_RUN_PORT=8000

Once the Flask variables are set, execute flask run and run the application on the specified port in your browser.

Testing

The application can be tested with pytest. Install through pip

pip install pytest

Run the tests located in /tests

pytest -v

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sst_ct-0.0.10.tar.gz (167.9 kB view hashes)

Uploaded Source

Built Distribution

sst_ct-0.0.10-py3-none-any.whl (43.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page