Christian Scutaru presents a pure python solution for generation of Snowflake key pairs in his Medium article How to Automatically Generate a Key Pair for Snowflake. The complete code for the solution is available Github/cristiscu/key-pair-generator.