Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

My solutions for Advent of Code 2025

Setup

After cloning this repository, create a virtual environment, activate it, and install.

$ cd python-aoc2025
python-aoc2025$ python -m venv venv
python-aoc2025$ . venv/bin/activate
(venv) python-aoc2025$ pip install -e .[test]

Create new daily workspace

(venv) python-aoc2025$ newday 1

Run daily solutions

(venv) python-aoc2025$ python aoc2025/day01/solution.py 
69626
206780

Test Suite

Run tests fro individual days with pytest tests/test_day##.py

(venv) python-aoc2025$ pytest --cov
======================================================================== test session starts =========================================================================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /home/vance/git/github.com/vmorris/python-aoc2025
plugins: cov-6.0.0
collected 6 items                                                                                                                                                    

tests/test_day01.py ..                                                                                                                                         [ 33%]
tests/test_day02.py ..                                                                                                                                         [ 66%]
tests/test_day03.py ..                                                                                                                                         [100%]

---------- coverage: platform linux, python 3.12.7-final-0 -----------
Name                        Stmts   Miss  Cover
-----------------------------------------------
aoc2025/__init__.py             0      0   100%
aoc2025/day01/solution.py      23      0   100%
aoc2025/day02/solution.py      35      0   100%
aoc2025/day03/solution.py       5      0   100%
aoc2025/util.py                37     19    49%
tests/test_day01.py            11      0   100%
tests/test_day02.py            11      0   100%
tests/test_day03.py            11      0   100%
-----------------------------------------------
TOTAL                         133     19    86%

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages