Skip to main content

test version

Project description

Steps to setup environments to run code

It is suggeseted to maintain 2 different environments to run the code,one for the scan component and the other to run the application.

The below steps are for setting up the environment using Anaconda. Please refer to the below link for more details:

https://docs.anaconda.com/anaconda/install/index.html

Steps to Run the code

  1. Ensure you are in the complai directory

Optional Steps to RUN/RERUN SCAN

  1. Create and switch to new Anaconda Environment: "conda create -n python=3.8" "conda activate "

  2. Install complai_scan using pip, using below code. "pip install /complai_scan-0.1.0.tar.gz"

  3. To run the scan , move to the respective directory. For e.g. : "cd titanic"

  4. Run the code using the below command. "python run_binary.py"

Steps to LAUNCH APP

  1. Create and switch to new Anaconda Environment: "conda create -n python=3.8" "conda activate "

  2. Move to the complai_ui directory using the below command. "cd compali_ui"

  3. Install app dependencies (Preferably in a new env), using the below command "pip install -r requirements.txt"

  4. Run the below command to launch the stramlit app. "streamlit run app.py"

Note: If you are on Dark Theme then please go to settings of the streamlit app and select Theme as Light. Changing Theme is very easy as explained in this link https://blog.streamlit.io/content/images/2021/08/Theming-1--No-Padding---1-.gif

Steps to Configure YAML

  1. This project requires the user to configure 2 yaml files. For e.g. :"tiatnic_config.yaml" and "tiatnic_policy.yaml"

Please refer to the yaml files for further information

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

complai_test-0.1.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

complai_test-0.1-py3-none-any.whl (37.5 kB view details)

Uploaded Python 3

File details

Details for the file complai_test-0.1.tar.gz.

File metadata

  • Download URL: complai_test-0.1.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.14 Darwin/23.5.0

File hashes

Hashes for complai_test-0.1.tar.gz
Algorithm Hash digest
SHA256 5ce1956d9a06d2f06e84a84c35657b2983b51e5d8e2c678a8f88067ea278008e
MD5 4451d0be0ae223d785631dae229f606c
BLAKE2b-256 e409e0034ede6657116bd3748942461d5af33fe51f58593f6c2bdbd4b7b28414

See more details on using hashes here.

File details

Details for the file complai_test-0.1-py3-none-any.whl.

File metadata

  • Download URL: complai_test-0.1-py3-none-any.whl
  • Upload date:
  • Size: 37.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.14 Darwin/23.5.0

File hashes

Hashes for complai_test-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2e3e259e5794a4e872db74a93bf2dab1ef6ae368b8f1443486917a96dbff6ea5
MD5 8048da8d91a67b8d401683ca22c60e88
BLAKE2b-256 d16819a077698a7eb3fd604b0c327c5a3a3dc57cb61b2b433b45891d71230519

See more details on using hashes here.

Supported by

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