NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1240 most downloaded on PyPI
Python bindings for the XML Security Library
Last release 10 months ago
11 Nov 2025
Release timing varies
gaps range from 3 weeks to 2.8 years
Some releases are documented
notes for 17 of 35 stable releases
1 version withdrawn
withdrawn after publishing
13 years old
38 releases · first in 2013
Release Date: 2025-11-11 Version: 1.3.17
Release Date: 2025-11-11
Version: 1.3.17
This release provides binary wheels that are fully compatible with lxml v6.0.2. The compatibility is ensured by using the same underlying libxml2 version in both python-xmlsec and lxml.
Because of this strict requirement, the wheels cannot be used with versions of lxml lower than 6.0.2. Mixing versions will lead to runtime errors.
If you see the following message:
lxml & xmlsec libxml2 library version mismatch
it indicates that the version of libxml2 used to build lxml does not match the version used to build python-xmlsec.
lxml to v6.0.2, orlxml and python-xmlsec manually from source using the same libxml2 versionThese wheels are built against the following versions, which match those used in lxml v6.0.2:
libxml2 v2.14.6libxslt v1.1.43xmlsec1 v1.3.9zlib v1.3.1libiconv v1.18openssl v3.6.0The Windows binary wheels were compiled using Visual Studio 2022 and include the following libraries:
iconv v1.18-1libxml2 v2.11.9-3libxslt v1.1.39openssl v3.0.16.pl1xmlsec v1.3.7zlib v1.3.1These versions are compatible with those used in lxml v6.0.2.
Special thanks to
Full Changelog: 1.3.16...1.3.17
One column per quarter.
Release Date: 2025-07-10 Version: 1.3.16
Release Date: 2025-07-10
Version: 1.3.16
This release provides binary wheels that are fully compatible with lxml v6.0.0. The compatibility is ensured by using the same underlying libxml2 version in both python-xmlsec and lxml.
Because of this strict requirement, the wheels cannot be used with versions of lxml lower than 6.0.0. Mixing versions will lead to runtime errors.
If you see the following message:
lxml & xmlsec libxml2 library version mismatch
it indicates that the version of libxml2 used to build lxml does not match the version used to build python-xmlsec.
lxml to v6.0.0, orlxml and python-xmlsec manually from source using the same libxml2 versionThese wheels are built against the following versions, which match those used in lxml v6.0.0:
libxml2 v2.14.4libxslt v1.1.43xmlsec1 v1.3.7The Windows binary wheels were compiled using Visual Studio 2022 and include the following libraries:
iconv v1.18-1libxml2 v2.11.9-3libxslt v1.1.39openssl v3.0.16.pl1xmlsec v1.3.7zlib v1.3.1These versions are compatible with those used in lxml v6.0.0.
Special thanks to @TomiBelan for helping with the creation of binary wheels for this release.
Explicitly cast the pointer type in PyXmlSec_ClearReplacedNodes by @hroncok in #325
Full Changelog: 1.3.14...1.3.15
Make DES/3DES/KW-3DES support conditional on DES availability in XMLSec
Full Changelog: 1.3.13...1.3.14
Add CI for Python 3.10, manylinux2 SOABI, musllinux1 SOABI and OpenSUSE Tumbleweed
manylinux2 SOABI, musllinux1 SOABI and OpenSUSE Tumbleweedpre-commitPYXMLSEC_STATIC_DEPS=trueAdded support for registering custom xmlsec IO callbacks
lxml-stubs package instead of custom LXML stubsRemoved Python 2 compatibility code.
XMLSEC_NO_XSLT macro.furo.Turned off building Python 2.7 wheels in CI pipelines
libxmlsec1 version checksMore tests added to increase test coverage
xmlsec.base64_default_line_size() function to set the default maximum columns size for base64 encodingEscape the XMLSEC_CRYPTO macro value, just as it was done in the original setup
Escape the XMLSEC_CRYPTO macro value, just as it was done in the original setup
Various improvements related to packaging, distribution, CI and documentation. Notable changes:
Various improvements related to packaging, distribution, CI and documentation. Notable changes:
manylinux2010 reference system and MacOS.setuptools-scm for dist version calculation from Git tags.Nothing published for this version
Nothing published for this version
Fixed build for windows platform
add method to load symmetric key from memory Key.from_binary_data
Added parameter 'id' to method xmlsec.template.create, 'name' is deprecated.
xmlsec.template.create, 'name' is deprecated.Added binding for method xmlSecTmplTransformAddC14NInclNamespaces
Nothing published for this version
Nothing published for this version
fixed work with dynamic crypto library #48
New release 1.0.5 - fixed issue #46
New release 1.0.5
Nothing published for this version
Fixed issues with installation from pypi
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →