https://github.com/blairnangle/advent-of-code-2022
Taking Python 3.11 for a spin.
https://github.com/blairnangle/advent-of-code-2022
advent-of-code advent-of-code-2022 python311
Last synced: 2 months ago
JSON representation
Taking Python 3.11 for a spin.
- Host: GitHub
- URL: https://github.com/blairnangle/advent-of-code-2022
- Owner: blairnangle
- License: mit
- Created: 2022-12-05T13:23:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-01T15:21:57.000Z (over 2 years ago)
- Last Synced: 2025-01-25T11:41:56.988Z (4 months ago)
- Topics: advent-of-code, advent-of-code-2022, python311
- Language: Python
- Homepage: https://adventofcode.com/2022
- Size: 48.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2022
Taking Python 3.11 for a spin.
## Usage
- Create a virtual environment:
```shell
python -m venv .venv
```
- Activate the virtual environment:```shell
source .venv/bin/activate
```
- Install requirements:```shell
pip install -r requirements.txt
```- Execute a file—e.g.:
```shell
python day1.py
```- Time the execution—e.g.:
```shell
time python day1.py
```## Testing
Simplistic example cases will be added, as well as any specific scenarios on which I want feedback.
- Assuming `pytest` is installed:
```shell
pytest
```## Test and format
```shell
./pre-commit.sh
```## License
Distributed under an [MIT License](./LICENSE).