Skip to content

Repository files navigation

2025 Advent of Code Solutions in Python

Setup

Install required dependencies:

pip install -r requirements.txt

For development (including testing):

pip install -r requirements.txt
pip install -r requirements-dev.txt

Running Solutions

To run each day's solution:

python -m day_1.day_1
python -m day_2.day_2

Running Tests

Run all tests:

python -m pytest

Run tests with coverage report:

python -m pytest --cov=. --cov-report=term-missing

Run tests for a specific day:

python -m pytest day_1/test_solutions.py

Run tests for a specific day with coverage:

python -m pytest day_1/ --cov=day_1 --cov-report=term-missing

Run tests in verbose mode:

python -m pytest -v

Dependencies

  • requests - For fetching puzzle input from adventofcode.com
  • parsy - Parser combinator library for parsing puzzle input

Development Dependencies

  • pytest - Testing framework
  • pytest-cov - Coverage reporting for pytest

About

Advent of Code 2025 Solutions: Learning Python

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages