-
Install Python 3.11+:
- Download from python.org
- Or use Windows Store:
winget install Python.Python.3.11 - Or use Chocolatey:
choco install python --version=3.11.0
-
Install Poetry:
# Method 1: Official installer (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python - # Method 2: Using pip pip install poetry # Method 3: Using pipx (recommended) pip install pipx pipx install poetry
-
Add Poetry to PATH:
- Add
%APPDATA%\Python\Scriptsto your PATH environment variable - Or restart your terminal/VS Code
- Add
-
Configure Poetry to use Python 3.11:
poetry env use python3.11
-
Install project dependencies:
poetry install
-
Activate the virtual environment:
poetry shell
poetry run python cli.pypoetry run python -m pytest tests/ -vpoetry run black .poetry run pyrightThe workspace is configured with:
- Tasks: Use
Ctrl+Shift+P→ "Tasks: Run Task" to run predefined tasks - Debug: Use
F5to start debugging the CLI or current file - Extensions: Python, Black Formatter, Pylint, and Kubernetes tools are installed
- Install Python 3.11+ and Poetry following the instructions above
- Run
poetry installto set up the project - Review the
README.mdfor detailed project information - Check
TutorialSetup.mdfor additional setup instructions - Explore the
aiopslab/directory for core functionality