Examples which depends on the published package ideastatica_connection_api
Prepare Python virtual environmen
- Navigate to the directory .clients\python and activate Python virtual environment
# Step 1: Create a virtual environment
python -m venv venv
# Step 2: Activate the virtual environment
.\venv\Scripts\activate # On Windows
# Step 3: Install dependencies
pip install -r ./examples-pip/requirements.txt
Run the script from the command line
Navigate to the directory .clients\python
Run Python script from the command line :
py .\examples-pip\calculate-hss\calculate-hss.py
Debugging in Visual Studion Code
In Visual Studio Code open the directory with Connection Python Client src\api-sdks\connection-api\clients\python
Open the required exampl in the editor window.
Start debugging in VS Code toolbar Run/Start Debugging (F5)