-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sleeper Wrapper Pull #22
Open
NotTheCrocHunter
wants to merge
91
commits into
SwapnikKatkoori:master
Choose a base branch
from
NotTheCrocHunter:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… one of OrdereredDicts and one of regular dicts. Method also automatically calls Players to add player name and info to the dictionaries. get_week_range also accepts league.scoring_settings to calculate custom points. Also, upon initialization, Players will automatically call and assign to the Players.all_players attribute.
…r class return string to not include player age
…l the rosters with objects of the Player class. Added roster __str__ to display the team names and the players on each team by calling league.get_rosters() and then printer roster.players. Also added league_testing.py to test the roster class.
# Conflicts: # main.py # sleeper_wrapper/league.py # sleeper_wrapper/players.py
…ers in the roster
Also added some attributes for Stats class to be more of an object.
…s, and getting stat totals over a range of weeks
…eed to figure out how to grab positional baseline players.
get_stats_totals, add_rank_custom, add_pos_rank_custom, vbd_baseline_players, vbd_score, and gets_stats_average are now working. Need to address what self.stats should be if a week range is given. Also need to add consistency rankings for weekly stats.
…a from clay projections pdf. Need camelot.
# Conflicts: # data/players/all_players.json
…ank columns for the draft round/pick info that comes from Sleeper.
… to player pool list.
… to player pool list.
…keeper_pick button.
…the default value of set_to_index back to 0 when adding or removing a keeper.
…ed keepers into the blank draft board.
… the board location values for easy reference.
…dataframes and lists
…on to external functions. Also worked on cleaning up the GUI. Added a tab group for the cheatsheets.
# Conflicts: # draftboard_gui_buttons.py
….Tables, all populated by the get cheatsheet data func. Cleaned up the draftboard_brain module.
… and df['is_drafted'] != True. I think I need to figure out how to make that a bool column.
…unction. Moved the KeeperPopUp to it's own module, and created the League pop up to house the league data.
…d VBD/Custom score when we detect a valid sleeper ID in the league IDs json.
# Conflicts: # LeaguePopUp.py
…raftboard_brain. Tweaked the buttons in the main draftboard.
…rmal after completing search. Also fixed the VBD process (was not calculating each position properly).
…rmal after completing search. Also fixed the VBD process (was not calculating each position properly).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added cache functionality to the Players and Stats. Further developed the League, Players, and Stats classes. Added basic GUI module for testing.