{"library":"types-defusedxml","type":"library","category":null,"description":"types-defusedxml provides type hints for the defusedxml library, which offers protection against XML-related security vulnerabilities like XML bombs (Billion Laughs, Quadratic Blowup) and external entity attacks in Python's standard library XML modules. It is part of the typeshed project and allows type checkers to analyze code using defusedxml for correctness. This package ensures compatibility with defusedxml==0.7.* and is regularly updated.","language":"python","status":"active","version":"0.7.0.20260408","tags":["typing","stubs","xml","security","typeshed","defusedxml"],"last_verified":"Thu May 21","install":[{"cmd":"pip install types-defusedxml","imports":["import defusedxml.ElementTree as ET","from defusedxml.ElementTree import fromstring","from defusedxml.ElementTree import parse","import defusedxml.minidom as minidom","import defusedxml.sax as sax","import defusedxml.lxml"]},{"cmd":"pip install defusedxml","imports":[]}],"homepage":null,"github":"https://github.com/typeshed-internal/stub_uploader","docs":null,"changelog":"https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/defusedxml.md","pypi":"https://pypi.org/project/types-defusedxml/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":75,"avg_install_s":1.5,"avg_import_s":0.05,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/types-defusedxml/compatibility"}}