Nurbs curvature computation

is there someone that could please help me with writing a code in python to compute a nurbs curvature? it’s not for Rhino but just a single python script.
The code it’s already done: i’ve written a code that compute a NURBS from control points and its derivatives but the curvature it’s not correct. I just need someone quite expert on NURBS because i’m new to it to find where the error is. I’ll send my code of course.
Sorry for writing in this forum but it seems to be the very place to find some one that could help me.