What you ask for is absurd
Not is not absurd the user ymgve2 already post the python code.
It is the equivalent of asking you instead of using for example:
#include secp256k1.h
Create your own code for secp256k1.
I create it in C if you see the C code of the first version of keyhunt i did it from zero... check it
hereBut its ok, if you don't know how to do it, its OK i have no problem with it.