Python tools for solving various problems involving spherical electromagnetic waves