We present the Python package ana_cont for the analytic continuation of fermionic and bosonic many-body Greens functions by means of either the Pade approximants or the maximum entropy method. The determination of hyperparameters and the implementation are described in detail. The code is publicly available on GitHub, where also documentation and learning resources are provided.