Skip to content

HamidByte/Advent-of-Code-2022-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent-of-Code-2022-Python

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.

Dependencies

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.

Install packages with pip:

pip install -r requirements.txt

Export current environment configuration file:

pip freeze > requirements.txt

More information: https://note.nkmk.me/en/python-pip-install-requirements/

Generate requirements.txt file for any project based on imports

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