Skip to content
API written in Python calling PostGreSQL. This sports app takes player results and then, in the style of a Swiss Tournament, creates the next competition bracket.
Python TSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
tournament.py
tournament.sql
tournament_test.py

README.md

What's going on here

  • This is a program to keep track of players during a Swiss-style tournament.
  • This program was completed for the Udacity Relational Databases and Full Stack Fundamentals courses. It was written by Evan Genest.
  • The main thing to check out is my python code in the file swissTournament/tournament.py. That Python code responds to the tests in the tournament_test.py file.
  • Seven(!) views are generated by the program.
    I did that to maximize readability and ease of altering the details. If I had to release this for use, I would condense these into just two views.

General Usage Notes

  1. Requires installing (a) PostgreSQL and (b) psycops2 package for Python
  2. Start by running the sql setup: $psql tournament
  3. Then run: python tournament_test.py This will call each of the functions in the tournament.py module.




(This was developed in another repo, see the long history of my commits at https://github.com/atom-box/mars/tree/master/vagrant/tournament )

You can’t perform that action at this time.