PyWordGen is a random word generator that generates statistics of word parts (frequency and combinations) of a given language and stores that persistantly. That data is then utilized for generating random words with the same characteristics.
Dungeon Shell is a shell for D20 Dungeon Masters. Simple commands allow DM to manage a game session and track characters and monsters statistics. It is written in Java (1.4.0 at least). Data is stored in XML and you can script it with j[p]ython.