Python to hardware?

Hello everyone,
Is it possible to convert a Python adder function to an IP core? Please send me a tutorial.