Skip to content

prophile/libproton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LibProton

Build Status

This is a library which simplifies the task of creating Proton compliant scoring scripts.

API

The following is a complete and minimal Proton compliant scorer, and shows the expected usage of the library.

#!/usr/bin/env python

import libproton

def scorer(teams_data):
    # Whatever you need to do to work out the team's scores
    scores = {}
    for tla in teams_data.keys():
        scores[tla] = 4
    return scores

libproton.main(scorer)

Tests

Run nosetests from the root.

About

A python library which simpliefies the creation of a Proton compliant scorer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%