Could you use OS X's built-in "Password Assistant" to help generate passwords? This page which shows an example of calling a public framework's (but I think undocumented) API. (and there's this page on how it was done)
I just wanted to have a stand-alone app that was of the KeePassX password generation utility. I like the way it look and it has lots of options, I especially like the 'entropy collection' feature.
I don't know anything about programming.
I found a decent pw maker on the Mac App Store. I guess I'll just stick with that.