Namecoin Offline Wallet Generator
I'd check out the python library Coinkit - it's for generating cryptocurrency wallets (Bitcoin, Namecoin, Litecoin, Peercoin, Primecoin, Dogecoin and a bunch of others are currently supported).

Just do "pip install coinkit".