BruceJohnJennerLawso / scrap

Hockey stats analysis done by scraping the data to a csv file, then processing/analyzing them with more python.
3 stars 0 forks source link

Scrap console #79

Closed BruceJohnJennerLawso closed 7 years ago

BruceJohnJennerLawso commented 7 years ago

loading everything into memory can be a bit wasteful for resources if its done over and over again for very large spreads of seasons, so maybe create an interpreter console that can load everything once, then respond to commands that the user types into the console.

BruceJohnJennerLawso commented 7 years ago

With the latest changes in seasonParts, this has become much more vital given that the changes to how everything works has slowed load times down quite a bit, especially for large spreads such as nhl, everything

BruceJohnJennerLawso commented 7 years ago

One idea for this, have the scrap console load everything beforehand, then once loaded, other end user facing modules have a standard named function representing whatever they do.

Most important arguments can be stored as variables inside of the scrap console, better to make calling the modules within the console less wordy

BruceJohnJennerLawso commented 7 years ago

Finally done as of 1d738d57fa537c63cae5e67c3683dbf8c5fd67b0