We discuss the technique of expansion by regions from a geometric perspective, and its implementation within pySecDec, a toolbox for the evaluation of dimensionally regulated parameter integrals. The program offers an automated way to perform asymptotic expansions and provides a new mechanism for efficiently evaluating amplitudes, as well as individual integrals. The usage of the new features available within pySecDec is illustrated with several examples. Program summaryProgram Title: pySecDecCPC Library link to program files:https://doi.org/10.17632/dnrkf5jxzh.3Developer's repository link:https://github.com/gudrunhe/secdec, https://secdec.readthedocs.io (online documentation)Licensing provisions: GNU Public License v3Programming language: Python, Form, C++, CudaExternal routines/libraries:GSL [1], NumPy [2], SymPy [3], Nauty [4], Cuba [5], Form [6], GiNaC [7]; optionally Normaliz [8].Journal reference of previous version:Comput. Phys. Commun. 240 (2019) 120–137.Does the new version supersede the previous version?: YesNature of problem: Expansion of Feynman integrals in different kinematic limits, regularisation of ultraviolet, infrared and spurious singularities, numerical integration in the presence of integrable singularities (e.g. kinematic thresholds).Solution method: After specification of the desired kinematic limit by the user (definition of a smallness parameter), the regions contributing to the integral are determined and expansion in the smallness parameter up to the desired order is performed. Extraction of singularities in the dimensional regularization parameter as well as in analytic regulators for potential spurious singularities is done using sector decomposition. This leads to a Laurent series in the regularization parameters, where the coefficients are finite integrals over the unit hypercube. Integrable singularities are handled by choosing a suitable integration contour in the complex plane, in an automated way. The integrals expanded in the different regions are summed and evaluated numerically.