Can I use the Python script to add users (mac authentication) to Freeradius 3.0?

I've been looking for examples using the Python script to add users to freeradius, but I guess I'm using incorrect keywords. Can I ask for your help with how to implement this? I'm still new with python and freeradius. Thank you. I am using Daloradius with Wifi access point