Releases: souzatharsis/pyETT
Bug fix: Cohort analytics for unranked only matches
Big Fix
- Fixed Cohort .describe() method, which was returning an empty dataframe if all matches were unranked
Documentation
- Updated 'Matchup and Cohort Analysis' documentation page with leaderboard's recent data as of today.
Bug Fix: Search players with special characters in their username
Bug fixes
Convert username to URL utf-8 encode using urllib.parse.quote
to enable search of players with special characters in their username.
Add data
Added players post-match Elo to Matches.
Pretty print and find revertible Matches
Matches
-
Added pretty print to matches (static method
print_match()
) -
Added method to find matches eligible to be reverted in favor of the player under Class Player (
get_matches_revertible()
andprint_matches_revertible()
)
Minor updates
- Standardized Player and Match ids as np.int64 type
Tournament info and Cohort (matchup) analysis
Major
-
added Cohort class to handle players stats considering matchups within a cohort of players
-
add tournament class to handle the logic for official ETT tournament qualification criteria
Minor
-
moved
official_tournament_leaderboard_dataframe
out of Tournament class as a static method -
added lint and some typing
-
restructured tests classes to match with modules classes
Added leaderboard of the Eleven official tournaments
Added leaderboard of the Eleven official tournaments available at http://lavadesignstudio.co.uk/eleven-rankings/ and associated unit test.
Handles invalid player ids
- Handles invalid player ids:
Returns None object and error message.
- Handles asyncio issue:
RuntimeError: There is no current event loop in thread error for instance applied to Streamlit and Asyncio apps
Retrieve full matches, leaderboard and user search
Previously limited to a few results, now the library returns full player matches history, full leaderboard, and full user list from a user search.
Request run async.
Added unranked matches
- Added unranked matches
- add exception_handler to ett_parser.py
Alpha pypi release of pyETT
v0.1.3 Update README.md