An open API service indexing awesome lists of open source software.

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.

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).