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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file sst_ct-0.0.10.tar.gz.

File metadata

  • Download URL: sst_ct-0.0.10.tar.gz
  • Upload date:
  • Size: 167.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for sst_ct-0.0.10.tar.gz
Algorithm Hash digest
SHA256 b2f6067a525192f77ff978860ac33271c2908ff2f2e19d61e1e8b93ca0db4f9d
MD5 2dffdc259eb1f62bb77d9924b305e349
BLAKE2b-256 112b258e6a40aeb4417ff2d05b44e8388772ccc865e687633060b6d8831c4f86

See more details on using hashes here.

File details

Details for the file sst_ct-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: sst_ct-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 43.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for sst_ct-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 b9f09841f3c11040b3e53689d3b54ea716e136ff17e69bfa86c0be3be5db9ab2
MD5 5e2683207b9530adc56cd687de1db032
BLAKE2b-256 0032c12a4c90c4c5ec6cabd997b0c890ce755acb825b5bcffba6c55970a0ccb4

See more details on using hashes here.

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