Translate c examples to micropython : some rules?

Bonjour ,
Uraich has widgets translated from C to micropython , good !
but many examples in ‘how to’ in C
Can you provide some rules for this translation ?
this will helpfull !
Thanks and Regards