Giter VIP home page Giter VIP logo

aocutils_denz's Introduction

README.md

Hi! This is AoCUtilsDenz the short form of "Advent of Code Utilities by Denzven" its a small automation tool (WIP) to make it easier for people to solve the questions of AoC and organize and neaten up their code in the challenge.

for now, the code makes a boilerplate file system with all years ie,(2015 to 2020) and all days (Day0 - Day25) all the Day0 days are empty and are kept as a place holder:

the file tree system are as follows:

D:.
|
\---AdventOfCode
    +---<year>
    |   +---<day>
    |   |       <day>Input.txt ()
    |   |       <day>Part1.py
    |   |       <day>Part2.py
    |   |       <day>Ques.txt
    |   |       README_<day>.md
    |   |
    |   \---<day>
    |	       <day>Input.txt
    |	       <day>Part1.py
    |	       <day>Part2.py
    |	       <day>Ques.txt
    |	       README_<day>.md

see the whole file system at tree_fig.txt

In addition to the file system, it fills the <day>Input.txt with the input of the puzzle using a SessionID see here for more info and fills <day>Part1.py and <day>Part2.py with some boiler plate code like this:

#Part <part> of Day<day>

import time
StartTime = time.time()
InputFileLines = open('Day<day>Input.txt').readlines()

#Code

FinalAnswer = 

EndTime = time.time()
print(f"Final score: {FinalAnswer}")
print(f'Execution Time: {EndTime - StartTime}')

This code dynamically changes adding the and in each file.

This project is still in WIP and I have planned to add a lot more funtions and features to make solving these puzzles easier and not a headache in organising hundreds of files :)

Please Note that right now the code is extremely slow taking about 300 to 350 seconds to complete from start to finish (about 5-6 mins approx.)

Please do Star the repo if you found it useful โญ

If you feel something needs to be added, open a issue to put in the suggestion or fork the repo and make a pull request ๐Ÿ’œ

Made by Denzven with love ๐Ÿ’œ and Python

Dislaimer

I DO NOT RECOMMEND TO USE THIS TOOL TO ABUSE AND CAUSE DAMAGE TO AOC SERVERS/PARTICPANTS ETC.  
USE THIS JUSDICIOUSLY AND UNDER STRICT OBSERVATION.  

I DO NOT TAKE RESPONSIBILITY OF ANY DAMAGE OCCURED TO ANY PERSON   
OR PROPERTY OR ANY ACCOUNT BANNED FROM AOC.  

PLEASE USE CAUTIOUSLY AND CAREFULLY, UNDERSTANDING ALL RISKS INVOLVED  

THANK YOU,
REGARDS,
DENZVEN

aocutils_denz's People

Contributors

denzven avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.