{"library":"pycld2","type":"library","category":null,"description":"pycld2 provides Python bindings to Google Chromium's Compact Language Detection library (CLD2). It supports detection for over 165 languages and aims to consolidate the C++ library and its bindings into a single installable Python package. Version 0.42 was released in March 2025, with an irregular release cadence.","language":"python","status":"active","version":"0.42","tags":["language detection","nlp","cld2","text analysis"],"install":[{"cmd":"pip install pycld2","imports":["from pycld2 import detect"]},{"cmd":"sudo apt-get install build-essential python3-dev # On Debian/Ubuntu\n# On macOS: Install Xcode Command Line Tools (xcode-select --install)\n# On Windows: Install MSVC Build Tools (part of Visual Studio Community)","imports":[]}],"homepage":null,"github":"https://github.com/aboSamoor/pycld2","docs":null,"changelog":null,"pypi":"https://pypi.org/project/pycld2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.9,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/pycld2/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Tue Jun 30","last_verified":"Tue Jun 30","next_check":"Thu Jul 30","install_tag":null}}