Maccabi tel-aviv football team statistics manipulation.
Project description
# Description
Simple package which allow to figure out more about maccabi tel-aviv football team while manipulating statistics. Atm all the data parsed from maccabi-tlv site.
# Examples
Loading all the games: ` from maccabistats.stats.serialized_games import get_maccabi_stats games = get_maccabi_stats() ` or shorter
` from maccabistats import get_maccabi_stats games = get_maccabi_stats() `
Trying to get only old home wins: ` old_games = games.played_before("1.1.2000") old_home_games = old_games.home_games old_home_wins = old_home_games.maccabi_wins `
or just: ` games.played_before("1.1.2000").home_games.maccabi_wins `
Show best scorers of ‘games’: ` games.best_scorers `
Or the same for old home wins: ` old_home_wins.best_scorers `
# Known issues
Atm, players assist does not implemented.
Players which opened as (captain or had different shirt number between games) will be counted as different players.
Ignoring events after 120 min (in game_events_parser -> fully_game_time_without_penalties)
- # Optimization
In order to run maccabistats with ‘use-disk-to-crawl’ = True, you should have all the html files from maccabi-sites, you can find them here: https://mega.nz/#F!szxTUDRQ ( key will be available at forum.12p.co.il)
# Versioning ATM minor version change 0.X.0 may indicate API CHANGES.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for maccabistats-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22d27923f840464cd7fbf27c58e711c66104195fefff2889759e89beafa5604a |
|
MD5 | d4b4bc550bbebb1cd5d0f7f87da8c657 |
|
BLAKE2b-256 | 35cfdfd76fd75acb06f49e47f8e124ad40687fbfb7f63ba956d77735b282a1a3 |