Rp-web-tools-tmbundle is a project mainly written in Python, it's free.
Textmate bundle scripts and time savers for Textmate OS X web development
To install with Git:
mkdir -p ~/Library/Application Support/TextMate/Bundles
cd ~/Library/Application Support/TextMate/Bundles
git clone git://github.com/rabidpraxis/rp-web-tools-tmbundle "rpWeb Tools.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'