big-num-format is a package which converts very large numbers into human readable text.
Simply type the following in a command line to install the package:
pip install big-num-format
Use the format_num() function to format numbers.
e.g.
from big_num_format import *
format_num(123456789.55)
# '123 million, 456 thousand and 789.55'
format_num(1e50/3, shorten=True, precision=5, decimal_precision=10)
# '33QDe 333qDe 333TDe 333DDe 333.3376073556UDe'