Interesting...Per @reaperhulk's suggestions yesterday we added this generate method to DSAParams and handled the rest at the backend https://github.com/pyca/cryptography/pull/713/files#diff-bbf328bff524bcecbbba5c8b7786c802R342 because there's no use for newly generated DSAParams alone but this could be enhanced maybe.