Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

This is study repo with works&labs in Game Theory and Operations Research course

License

Notifications You must be signed in to change notification settings

aaaaaaaalesha/10-game_theory

Repository files navigation

Game Theory. 10 semester

Python 3.10 | 3.11 Code style: Ruff CodeQL Wakatime

Quick Start

  1. Installing Poetry to manage dependencies.
# Install Poetry.
pip3 install poetry==1.7.1
# Verify that Poetry is working.
poetry --version

Warning

If you receive an error: "Command not found.", add Poetry to your user Path variable.

# For *-nix systems.
export PATH="$HOME/.local/bin:$PATH"
# For Windows.
[System.Environment]::SetEnvironmentVariable('path', $env:USERPROFILE + "\AppData\Roaming\Python\Scripts;" + [System.Environment]::GetEnvironmentVariable('path', "User"),"User")
  1. All dependencies have already locked in poetry.lock, you just need to install it.
  • If you need the complete environment with dev-tools.
poetry install
# Install pre-commit hook to .git.
pre-commit install
  • If you need minimal production dependencies without dev-tools.
poetry install --without dev
  1. And now you're ready to run jupyter notebook using env based on poetry venv dependencies.
poetry run jupyter notebook
# OR just activate your created virtual environment like this.
poetry shell