This Gist used to be a fork of similardilemma’s mcexplore.py script, which is used to pregenerate a minecraft world and was previously maintained at this url. Similardilemma no longer has a github account and no longer maintains mcexplore, so with his blessing I’m continuing development on GitHub over here.