Python solutions to the Advent of Code 2022
problems. Check out https://adventofcode.com
Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.
Python
If you are managing Python packages (libraries) with pip, you can use the configuration file requirements.txt
to install the specified packages with the specified version.
pip install -r requirements.txt
pip freeze > requirements.txt
More information: https://note.nkmk.me/en/python-pip-install-requirements/
pipreqs automatically generates requirements.txt for any python project. The output file contains all the imports libraries with versions you are using in the installed python or virtual environment.
Installation
pip install pipreqs
Usage
pipreqs /home/project/location
More information: https://github.com/bndr/pipreqs