Skip to main content

SLFF Utility Suite

Project description

SLFF


Provides a utility suite for SLFF.

Usage:

from slff.scoring import score_team_event
from tbapy import TBA

tba = TBA('my tba key')
scores = score_team_event(2791, '2019nytr')

Currently only supports 2019 scoring.

score_team_event

  • tba: tbapy.TBA: tbapy class that SLFF uses internally; will be removed in future version
  • team_number: int: team number (not key)
  • event_key: str: event key to score the team at (Einstein scoring currently unimplemented)
  • score_as_year: Union[int, NoneType] = None: force SLFF to score the event as if it happened in the given year; a value of None will instead score it as the year the event occurred

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

slff-0.0.3-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page