Light-weight, simple and fast XML parser with XPath support
Project Links
Meta
Author: Tetsuya Miura
Requires Python: >=3.10
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
Operating System
- MacOS :: MacOS X
- Microsoft :: Windows
- POSIX
Programming Language
- C++
- Python :: 3 :: Only
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Topic
- Software Development :: Libraries
- Text Processing :: Markup :: XML
Python bindings for pugixml
pugixml is a light-weight C++ XML processing library. It features:
- DOM-like interface with rich traversal/modification capabilities
- Extremely fast non-validating XML parser which constructs the DOM tree from > an XML file/buffer
- XPath 1.0 implementation for complex data-driven tree queries
- Full Unicode support with Unicode interface variants and automatic encoding conversions
Documentation
- pugixml-python
- pugixml
Installation
Installing a package from PyPI
pip install pugixml
Building a package from source
-
Requirements:
- C++17 compatible compiler (see supported compilers)
- CMake ≥ 3.15
-
Installing a package from PyPI:
pip install --no-binary=:all: pugixml
-
Installing the development version from the git repository:
pip install git+https://github.com/miute/pugixml-python.git
License
- pugixml-python is licensed under the MIT License.
- pugixml is licensed under the MIT License.
0.8.0
Jul 07, 2026
0.7.0
Jan 14, 2025
0.6.0
Apr 30, 2024
0.5.0
Oct 04, 2023
0.4.0
Nov 11, 2022
0.3.0
Oct 02, 2022
0.2.0
Jun 09, 2022
0.1.0
May 27, 2022
Wheel compatibility matrix
| Platform | CPython 3.10 | CPython 3.11 | CPython 3.12 | CPython 3.13 | CPython 3.14 |
|---|---|---|---|---|---|
| macosx_14_0_arm64 | |||||
| manylinux_2_27_x86_64 | |||||
| manylinux_2_28_x86_64 | |||||
| win_amd64 |
Files in release
pugixml-0.8.0-cp310-cp310-macosx_14_0_arm64.whl (260.2KiB)
pugixml-0.8.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (509.2KiB)
pugixml-0.8.0-cp310-cp310-win_amd64.whl (504.4KiB)
pugixml-0.8.0-cp311-cp311-macosx_14_0_arm64.whl (261.4KiB)
pugixml-0.8.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (511.5KiB)
pugixml-0.8.0-cp311-cp311-win_amd64.whl (506.6KiB)
pugixml-0.8.0-cp312-cp312-macosx_14_0_arm64.whl (264.5KiB)
pugixml-0.8.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (511.0KiB)
pugixml-0.8.0-cp312-cp312-win_amd64.whl (507.7KiB)
pugixml-0.8.0-cp313-cp313-macosx_14_0_arm64.whl (264.6KiB)
pugixml-0.8.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (510.9KiB)
pugixml-0.8.0-cp313-cp313-win_amd64.whl (507.8KiB)
pugixml-0.8.0-cp314-cp314-macosx_14_0_arm64.whl (264.5KiB)
pugixml-0.8.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (511.6KiB)
pugixml-0.8.0-cp314-cp314-win_amd64.whl (521.2KiB)
pugixml-0.8.0.tar.gz (388.7KiB)
No dependencies