GithubHelp home page GithubHelp logo

frankieeder / fantasy_movie_league Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 76.83 MB

An Object-Oriented version of the Knapsack Problem, fantasy_movie_league parses third-party box-office projections and computes the highest-earning Fantasy Movie League bracket for a given week.

Python 69.71% Shell 0.14% Roff 0.03% C 20.42% C++ 2.25% Objective-C 1.09% XSLT 5.89% R 0.46%

fantasy_movie_league's Introduction

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Quick Start

INTRODUCTION

An object-oriented version of the knapsack problem, fantasy_movie_league parses third-party box-office projections and computes the highest-earning Fantasy Movie League (FML) bracket for a given week.

Fantasy Movie League rules can be found here: https://fantasymovieleague.com/howtoplay

Third-party box-office projections come from Fantasy Movie League Insider and Box Office Report (BOR): FML Insider: https://fantasymovieleague.com/news Box Office Report: http://www.boxofficereport.com/predictions/predictions.html

REQUIREMENTS

  • Python 3.

QUICK START

In Terminal, run either all_weeks.py (which runs all sidecar files), or one of the sidecar files to compute the best bracket for the specific week to which that sidecar file corresponds.

To add and run a new week sidecar file, run new_week.py and input the necessary strings. These include:

  • Year: A string representing the year that this quarter began
  • Quarter: A string representing the quarter that this week is from
  • Week: A string representing the week to calculate projections for
  • Prices: The string created by highlighting and copying the entire price interface of Fantasy Movie League
  • FML Projections: The string created by highlighting and copying all the name-price pairs listed on FML Insider
  • BOR Projections: The string created by highlighting and copying the entire table of predictions posted on Box Office Report

This will also add the new week you make to all_weeks.py for later use.

If desired, you can use the interactive interpreter to further investigate possible earnings. Sidecar files are imported as modules in all_weeks.py, so to investigate the variables between weeks, simply run all_weeks.py in interactive mode and access the variables through the syntax "sidecar_file_name"."vairable_name".

All functions and classes are stored in fml.py.

fantasy_movie_league's People

Contributors

frankieeder 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.