Skip to content

AppleDannyClegg/aoc_python_project_creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code project creator for Python

Creates a project folder for the current year and day

Usage:

python main.py --day 10 --year 2021 --destination "~/projects/git/day10" --delete  

Options:

  -h, --help            show this help message and exit
  --day DAY             The day to create a project for
  --delete              Delete the project if it exists
  --destination DESTINATION
                        The destination directory
  --year YEAR           The year to create a project for

Requirements:

  • Python 3.12 - Python
  • Requests library - Requests
  • Poetry - Poetry
  • Need to set AOC_SESSION environment variable to your session cookie from the Advent of Code website. You can find this in your browser's dev tools under the Application tab. It's called session and is under the Cookies section.
  • wimglenn/advent-of-code-wim#1

Testing:

poetry run pytest ./tests/test_pytest.py -v

About

Advent of Code project creator for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors