The Python Web Arcade generates the structure and HTML files for a flash game web arcade. It is currently compatible with Mochi Media but could potentially be expanded (add an admin page so you can specify the URLs of games you want, support HTML5 games, etc.). See a demo at: http://proles.net
Current functionality is to accept pings from Mochi Media (when you are logged in and click "add this game to my site"), send a request using the Mochi API (dependent on Python Mochi), and then process the game and update the site.
Much of the design is based on Simple Games Site Script, and it relies on the same BoxOver JavaScript. However I wanted my arcade to be powered by Python rather than PHP because I wanted to customize it, and well, I prefer writing Python.
Just grab everything from the repository and stick it in a web-accessible directory where Python CGI can be executed. If you have an account at Mochi Media, you can add games by specifying the location of addgame.py as a "Custom Built Script" under your Auto Post settings. Then just browser and click the games you want. The request that your server receives should be like:
www.yourserver.com/path/to/addgame.py?game_tag=1a2s3d...
addgame.py also calls makesite.py to generate/update your site as needed. You can also update your site without adding a new game by executing makesite.py directly, either by visiting the URL or by running it from the command line.
Note that you may need to tweak some permissions (generally to 755) depending on your server/Python CGI setup. Also note that you must add your publisher ID to both addgame.py and makesite.py (edit the PUBLISHER_ID string near the top). Also, current assumed site structure is that style.css and boxover.js both live in your base www/ directory.
And lastly, though not at all necessary, if you do sign up for Mochi Media to try this script I'd be greatly appreciative if you used my referral link: https://www.mochimedia.com/r/075b64db5834691c
Any money I manage to make doing this will be an excuse to develop it further. Thanks!
Google Code Repository - http://code.google.com/p/python-web-arcade/
BoxOver 2.1 - checked into this repository as I believe it is licensed under the GPL, and the official page is down.
Python Mochi - http://codeboje.de/python-mochi/ BSD licensed, included in this repository for convenience in "mochi" directory.
Simple Games Site - http://code.google.com/p/wetsrc/wiki/SGSS MIT licensed, I'm using similar CSS/design but obviously none of their PHP.