Coder Social home page Coder Social logo

pyeventor2ttime's Introduction

pyeventor2ttime

Important update: Version 0.73 of ttime has fixed the SSL issues, so this program is superflous. The repository will be retained but not maintained.

About

A script to convert entries from Eventor to the ttime database format.

The ttime application for Windows is used for timekeeping and entries during orienteering events with emit eCards. Versions up to 0.72 had problems with SSL authentication, and it was not possible to pull entries from the Eventor platform to ttime. This program is written to make that transition easier.

Downloading entries from Eventor

Go to eventor.orientering.no and log in. Find your race and click Edit to change the race preferences. You need to have at least Event organizer privileges in your club to be able to access these preferences.

You now have two options for exporting your data: as an IOF XML 3.0 file or as an Excel 2003 XML format format file. The IOF XML format is widely supported by different kinds of orienteering software, while the Excel 2003 XML format has the advantage that you can easily manipulate the data by using the Microsoft Excel.

The procedures for downloading both kinds of file formats are given below.

Download IOF XML 3.0 data from Eventor

  • Go to Data exchange
  • Choose the xml option by the text "Export entries"

Download Eventor Excel 2003 XML

Go to entry overview. See the image below. Entry overview

Download the entries as an Excel document. Excel download

Usage

The program can be run as a python script or as a standalone Windows program. The Windows executable file is easier to use, but it is quite large (approx. 225 MB), and also quite a bit slower than the python script.

The python script can be downloaded from the repository above. The Windows .exe file can be found under releases.

You can either run the python file pyeventor2ttime.py or the Windows executable file pyeventor2ttime.exe. The python file requires the packages pandas, beautifulsoup4 and possibly lxml to run. Usage:

python pyeventor2ttime.py "Entry overview XXXXX.xls"

The python file can also be called without any argument (i.e. without a file name), in which case it will open a system dialog box, asking for the file name.

The Windows executable file is quite easy to use -- just download the file and open it. It will take some time to start up, since it needs to unpack all the python code and modules to a temporary directory on your hard drive. This can take anywhere from 10 seconds to a few minutes. Please be patient. You can cancel the program by pressing Ctrl + C during execution. Once the Select file dialog box opens up, navigate to your .xls or .xml file. The output file will be stored in the directory of the pyeventor2ttime.exe file.

FAQ

Q: What about entries without emit ecards?
A: Those entries are given no ecard number or number 999

Q: The script has a bug.
A: Please open an issue here on GitHub

Q: I have a problem with the script.
A: Send me a personal message here on GitHub or by email

pyeventor2ttime's People

Contributors

stalegjelsten avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.