Peter Jäckel's LetsBeRational is an extremely fast and accurate method for obtaining Black's implied volatility from option prices with as little as two iterations to maximum attainable precision on standard(64 bit floating point) hardware for all possible inputs.
pip install lets_be_rational==1.0.9