ASA103 is a Python library which evaluates the digamma or psi function, by Jose Bernardo.
ASA103 is Applied Statistics Algorithm 103. Source code for many Applied Statistics Algorithms is available through STATLIB.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
ASA103 is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a MATLAB version and a Python version.
FN, a Python library which approximates elementary and special functions using Chebyshev polynomials; functions include Airy, Bessel I, Bessel J, Bessel K, Bessel Y, beta, confluent hypergeometric, cosine integral, Dawson's integral, digamma (psi), error, exponential integral, gamma, hyperbolic cosine integral, hyperbolic sine integral, incomplete gamma, log gamma, logarithmic integral, Pochhammer, psi, sine integral, Spence; by Wayne Fullerton.
POLPAK, a Python library which evaluates a variety of mathematical functions, including Chebyshev, Gegenbauer, Hermite, Jacobi, Laguerre, Legendre polynomials, and the Collatz sequence.
TEST_VALUES, a Python library which contains sample values for a number of distributions.
Original FORTRAN77 version by Jose Bernardo; Python version by John Burkardt.
You can go up one level to the Python source codes.