Differential Box Count on python

Good morning, I want to calculate the fractal dimensions of 3D TC images in python using Differential Box Counting method (DBC), have you any ideas? I’m new in python. Thank you!!