This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

About

This Python package provides support for custom contests on the Timus Online Judge.

Define the players and problems to get an automatically-updating score board which is generated according to the ACM ICPC rules.

The sample output is available for preview.

Configuration

\(timus.scoreboard\) uses INI-style files for configuration. Here is a sample configuration:

[contest]
title = My sample contest
start = 12:00:00 1 Oct 2012
end = 17:00:00 1 Oct 2012

[users]
1000 = Team 1 (John, Jack, Suzan)
1001 = Team 2 (Mike, Roger, Dan)

[problems]
1000 = A
1001 = B
1002 = C
1003 = D

[config]
output_dir = ./output

The values for \(contest\) section do not require an explanation. Just be sure to stick to the date format used and remember that the Timus Online Judge is operating in UTC+6 time zone.

Next, list the user IDs and their names in the \(users\) section. The ID is the numerical part of your Judge ID. The remaining letters should be kept secret and not entered in the configuration. This means that if you’re organizing a contest, the IDs must be collected beforehand. It should be noted that while contestants may have specified their names in the Timus system, you will have to specify official names (e.g. containing the last names of team members) in the configuration file.

Problems must be entered in the \(problems\) section. In the Timus system, problems have names, but for an ACM-style contest you will want to have short names (A/B/C/… is a standard).

Running timus-scoreboard

After installing \(timus.scoreboard\) egg, you should be able to execute the \(timus-scoreboard\) script. The location of this script depends on the way you installed the egg. For instance, if zc.buildout was used, the script will reside in \(bin\) directory as generated by buildout.

The script requires the name of the configuration file as a parameter:

wormhole:timus-scoreboard admp$ bin/timus-scoreboard -n sample.conf
Retrieving http://acm.timus.ru/status.aspx?count=100...
Writing ./output/index.html...
Writing ./output/top.html...
Writing ./output/table.html...

If you, however, omit the \(-n\) option, the script will keep running until the contest ends. This is useful if you want to update the score table every few minutes.

Release History

Release History

0.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
timus.scoreboard-0.2.tar.gz (6.7 kB) Copy SHA256 Checksum SHA256 Source Oct 7, 2009

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting