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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file slff-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: slff-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for slff-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 52fef596c5a67cae2f7da391805ee2731197e35bc6f9bbd19c403b5fbf423182
MD5 97802878a89fd3874cfd2e802bc69134
BLAKE2b-256 ebe044c365d42209ee0569df82998f6345930df3ae0818a86b7316754f7485ce

See more details on using hashes here.

Supported by

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