BLACK_SCHOLES is a Python library which demonstrates several approaches to the valuation of a European call, by Desmond Higham.
BLACK_SCHOLES is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.
COLORED_NOISE, a Python library which generates samples of noise obeying a 1/f^alpha power law.
Desmond Higham
You can go up one level to the Python source codes.