There are 2 repositories under hadoop-distributions topic.
MapReduce Python Example
This is for Hadoop Installation in Pseudo Distributed mode
Script and tools to build with Apache Bigtop
This repository has a hadoop cluster code that are automated, ondemand, manual using by python, linux, html etc.