pycld2 is a Python wrapper around the cld2 language-detection library.