My repository for the Advent of Code, starting from 2021

Overview

Advent of Code

This is my repository for the Advent of Code (https://adventofcode.com/), starting from 2021.

File Structure

Inside each year folder, such as 2021/, there are folders for each day's puzzles (dayN). These contain 2 files each: dayN.py (my solutions w/ Python) and dayN.txt (input data).

Day Initialization

A few minutes before 12:00 AM EST, run initialize.py. The script creates the folder and Python file (from template.py) for the day. Then, it checks in 0.5s intervals for midnight, upon which it downloads the input file for the day to dayN.txt inside the proper folder.

The automatic input file downloading is made possible by the session cookie in AoC. The cookie value can be found in the Application tab of Inspect Element, Storage > Cookies > session. Create a .env file in the root project folder with content

session=cookie_value_here

Dependencies

The dependencies for this repository are saved in a requirements.txt. Be sure to create a venv (I used Python 3.10.0), activate it, and run

pip install -r requirements.txt
You might also like...
A collection of convenient parsers for Advent of Code problems.

Advent of Code Parsers A collection of convenient Python parsers for Advent of Code problems. Installation pip install aocp Quickstart You can import

My attempt at this years Advent of Code!

Advent-of-code-2021 My attempt at this years Advent of Code! day 1: ** day 2: ** day 3: ** day 4: ** day 5: ** day 6: ** day 7: ** day 8: * day 9: day

Jack Morgan's Advent of Code Solutions

Advent-of-Code Jack Morgan's Advent of Code Solutions Usage Run . initiate.sh year day To initiate a day. This sets up a template python file, and pul

A custom advent of code I am completing

advent-of-code-custom A custom advent of code I am doing in python. The link to the problems I am solving is here: https://github.com/seldoncode/Adven

Python script that automates the tasks involved in starting a new coding project
Python script that automates the tasks involved in starting a new coding project

Auto Project Builder Automates the repetitive tasks while starting a new project Installation Use the REQUIREMENTS.txt file to install the dependencie

An Advent calendar of small programming puzzles for a variety of skill sets and skill levels.

Advent of Code 2021 The Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be sol

๐Ÿ’ป Algo-Phantoms-Backend is an Application that provides pathways and quizzes along with a code editor to help you towards your DSA journey.๐Ÿ“ฐ๐Ÿ”ฅ This repository contains the REST APIs of the application.โœจ
๐Ÿ’ป Algo-Phantoms-Backend is an Application that provides pathways and quizzes along with a code editor to help you towards your DSA journey.๐Ÿ“ฐ๐Ÿ”ฅ This repository contains the REST APIs of the application.โœจ

Algo-Phantom-Backend ๐Ÿ’ป Algo-Phantoms-Backend is an Application that provides pathways and quizzes along with a code editor to help you towards your D

Code repository for the Pytheas submersible observation platform

Pytheas Main repository for the Pytheas submersible probe system. List of Acronyms/Terms USP - Underwater Sensor Platform - The primary platform in th

This repository requires you to solve a problem by writing some basic python code.

Can You Solve a Problem? A beginner friendly repository that requires you to solve familiar problems with python. This could be as simple as implement

This repository contains each day of Advent of Code 2021 that I've done.

Advent of Code - 2021 I will use this repository as my Advent of Code1 (AoC) repo for the 2021 challenge. I'm changing how I am tackling the problems

Brett Chapin 2 Jan 12, 2022
My solutions for Advent of Code 2021 ๐ŸŒŸ๐ŸŽ„

?? Advent of Code 2021 ?? My solutions for Advent of Code 2021. About ยท What is Advent of Code? ยท Contents ยท Usage ยท Table of puzzles (TODO: add final

Amanda P. Pinha 2 Dec 5, 2022
My solutions to Advent of Code 2021 (written in Python)

Advent of Code 2021 This repository contains my solutions for the 2021 edition of Advent of Code. Please do not expect perfectly polished solutions, m

Nils 2 May 29, 2022
Python solution of advent-of-code 2021

Advent of code 2021 Python solutions of Advent of Code 2021 written by Eric Bouteillon Requirements The solutions were developed and tested using Pyth

Eric Bouteillon 3 Oct 25, 2022
Advent of Code 2021 challenges

Data analysis Document here the project: AoC21 Description: Project Description Data Source: Type of analysis: Please document the project the better

Daniel Wendel 1 Jan 7, 2022
Solutions for the Advent of Code 2021 event.

About ?? This repository holds all of the solution code for the Advent of Code 2021 event. All solutions are done in Python 3.9.9 and done in non-real

robert yin 0 Mar 21, 2022
All solutions for the 2021 Advent of Code event.

Advent of Code 2021 Solutions All solutions for the 2021 Advent of Code event. Setup Create a file called .session. Go to adventofcode.com and copy th

Bruce Berrios 6 Dec 26, 2021
PDX Code Guild Full Stack Python Bootcamp starting 2022/02/28

Class Liger Rough Timeline Weeks 1, 2, 3, 4: Python Weeks 5, 6, 7, 8: HTML/CSS/Flask Weeks 9, 10, 11: Javascript Weeks 12, 13, 14, 15: Django Weeks 16

PDX Code Guild 5 Jul 5, 2022
Python template for Advent of Code event

Advent of Code Python Starter A tamplate for Advent of Code write in Python. Usage The project use poetry for project manager. Clone this repository a

Leonardo Gago 6 Dec 31, 2022
These are my solutions to Advent of Code problems.

Advent of Code These are my solutions to Advent of Code problems. If you want to join my leaderboard, the code is 540750-9589f56d. When I solve for sp

Sumner Evans 5 Dec 19, 2022