1
Getting Started
Tirsvad edited this page 2026-11-15 13:12:10 +01:00

English · Dansk · Bahasa Melayu

Getting Started

Requirements

Python 3.13 or newer and pytest for the tests. The program itself uses only the standard library, and the turtle window needs Tk (tkinter). To run the tests and the code checks, install the development tools (pytest, ruff and mypy) with python -m pip install -e ".[dev]".

Setup

python -m venv .venv
source .venv/bin/activate        # Windows PowerShell: .\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"

Run

turtle-challenges square

Tests

python -m pytest

Licence

The code is licensed under the GNU Affero General Public License v3.0 only (AGPL-3.0-only). See the LICENSE file.