Small, Tiny Python XML Parser Module
Project description
Python XML-Microparser Module
The python-xml-microparser module is a small OOP based XML Parser without DTD / XSLT / SAX functionality.
1. Documentation
Documentation including examples can be found at either ./doc or https://pythondocs.webcodex.de/xml-microparser/.
2. Installation
Most Linux Distributions come with already Python3 met dependencies (see 2.1).
Just download the current Relase Zip / Tarball @ Release 0.54Beta and continue with section 2.2.
2.1. Dependencies
You need the pip3
Python3 Package Installer, Python3 Setuptools python3-setuptools
and the downloaded XML-Microparser
Package found under Releases.
# apt-get install python3-setuptools python3-pip
[!IMPORTANT]
The following section describes how to install the XML-Microparser package globally. Newer PIP Package Manager Versions forbid this. It is possible to override by providing the--break-system-packages
flag.
2.2. Non-Restrictive PIP Install
Do this for a pip system where --break-system-packages
is not needed.
# sudo pip3 install ./python-xml-microparser-0.54beta.tar.gz
2.3. Restrictive PIP Install
Do this for a pip system where --break-system-packages
is needed.
# sudo pip3 install ./python-xml-microparser-0.54beta.tar.gz --break-system-packages
3. Build Manually
First update local git repository. The setup.py
metadata used for pip resides in /
.
# cd repodir
# git clone https://github.com/clauspruefer/python-xml-microparser.git
2.3. Build As Non-Root-User
Build python-package with setup-tools (as non root user). This will generate the installabe tarball
into ./dist/xmlmicroparser-0.54b0.tar.gz
.
# python3 setup.py sdist
4. Boost Python
Using the XML-Microparser Module with Boost Python C++ https://www.boost.org/doc/libs/1_86_0/libs/python/doc/html/index.html makes XML configuration handling in C++ projects easy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file xmlmicroparser-0.54b0.tar.gz
.
File metadata
- Download URL: xmlmicroparser-0.54b0.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e252f8597182b22491e4cdfcecf37318cd7f9ca4d3351d4166911d40f8a37d3d |
|
MD5 | 29b92fb9f37cfbcb3fa3d07491ac3233 |
|
BLAKE2b-256 | 267d9c9d49779d87c4d756d0246db6403d321cdb7bbe63e0a255afa0e108ffcd |