Tuxemon is written in Python 2.7.x using the PyGame game library. Documentation is auto-generated every night that details the use of every function. You can view this documentation by going to http://docs.tuxemon.org.
When you're ready to make a pull request, submit your pull to the "development" branch. The "master" branch is used for releases.