The code below uses double integration with scipy.integrate.dblquad to calculate the differential entropy, c*np.log(c) of a copula density function
scipy.integrate.dblquad
c*np.log(c)