{"id":14493,"library":"cmeel-tinyxml","title":"cmeel-tinyxml","description":"cmeel-tinyxml is a `cmeel` distribution for the TinyXML C++ library. As indicated by its PyPI summary, TinyXML is considered \"an obsolete thing\". This package primarily serves to provide pre-built wheels for the TinyXML C++ library, making it available as a build dependency for other Python packages that wrap C++ code. The current version is 2.6.2.3, with frequent releases driven by `cmeel`'s build process.","status":"deprecated","version":"2.6.2.3","language":"en","source_language":"en","source_url":"https://github.com/cmake-wheel/cmeel-tinyxml","tags":["xml","cmeel","cpp-bindings","build-dependency","obsolete","no-direct-api"],"install":[{"cmd":"pip install cmeel-tinyxml","lang":"bash","label":"Install cmeel-tinyxml"}],"dependencies":[],"imports":[],"quickstart":{"code":"# cmeel-tinyxml is primarily a cmeel distribution of the TinyXML C++ library.\n# It is intended as a build dependency for other Python packages that wrap C++ code.\n# This package does not provide a direct, user-facing Python API for XML parsing.\n# Attempting to import or use 'tinyxml' directly is not the intended use case.\n#\n# If you need to parse XML in Python, consider standard libraries like `xml.etree.ElementTree`\n# or third-party libraries like `lxml`.\npass","lang":"python","description":"This package is designed to provide the TinyXML C++ library as a build dependency. It does not offer a direct, user-facing Python API for XML parsing. The quickstart code reflects that direct Python usage is not common or intended for this library."},"warnings":[{"fix":"Do not attempt to import and use 'tinyxml' directly for Python application development. If you need XML parsing in Python, use standard libraries (e.g., `xml.etree.ElementTree`) or modern third-party alternatives (e.g., `lxml`).","message":"cmeel-tinyxml is primarily a build dependency for C++ extensions, not a direct Python library. It does not expose a user-friendly Python API for XML parsing.","severity":"gotcha","affected_versions":"All versions"},{"fix":"For new development, choose a modern XML parsing library. If maintaining existing C++ code that relies on TinyXML, evaluate migration strategies.","message":"The underlying TinyXML C++ library is considered obsolete. New projects should avoid using TinyXML and migrate to more modern XML parsing solutions like TinyXML-2 (in C++) or other robust parsers (e.g., `lxml` in Python).","severity":"deprecated","affected_versions":"All versions"},{"fix":"Acknowledge that direct Python usage is not the primary intent. If a Python package claims to use `cmeel-tinyxml`, it's likely as a C++ build dependency.","message":"There is no official documentation or examples for direct Python API usage of cmeel-tinyxml. The package's purpose is to provide the C++ library, not a Python binding.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"last_verified":"2026-04-17T00:00:00.000Z","next_check":"2026-07-16T00:00:00.000Z","problems":[{"fix":"Understand that cmeel-tinyxml is a build dependency. If you encounter this, it means you're trying to directly import a module that either doesn't exist or isn't meant for direct consumption by your Python application.","cause":"The cmeel-tinyxml package, while installed, does not necessarily expose a top-level Python module named 'tinyxml' that is intended for direct programmatic use.","error":"ModuleNotFoundError: No module named 'tinyxml'"},{"fix":"This package is not a direct Python binding for TinyXML. It provides the C++ library for other C++ extensions. Do not expect direct access to the C++ API via Python objects.","cause":"Even if an import (e.g., `import tinyxml`) were to succeed, the C++ API of TinyXML (like `TiXmlDocument`) is not exposed as Python objects or methods by this `cmeel` distribution.","error":"AttributeError: module 'tinyxml' has no attribute 'TiXmlDocument'"},{"fix":"Ensure `cmeel-tinyxml` is correctly installed in your environment. If the dependent package is being built from source, ensure your build environment can correctly link against the `cmeel-tinyxml` provided headers/libraries.","cause":"Another Python package (typically a C++ extension) that you are using requires the underlying TinyXML C++ library, but it cannot be found during its build or runtime.","error":"RuntimeError: Missing TinyXML dependency"}],"ecosystem":"pypi"}