Magic is a project mainly written in JAVASCRIPT and PYTHON, it's free.
Magic the Gathering related code
This repo contains a M:TG database, scripts to populate and update said database, and sourcecode for a M:TG website.