Blender incorporates Python as a scripting language. I've been fiddling around with it, and here are some of the things I've created. The scripts will all be downloadable when they are in a finished state.
Album: Auto Tile
A tiling tool
Album: Auto Masonry
The automatic wall script