pydigidoc
Python bindings for libdigidocpp — create, validate and handle digitally signed documents (ASiC-E, BDOC, etc).
Installation
pip install pydigidoc
Usage
import pydigidoc
# Initialize the library
pydigidoc.initialize("MyApp")
# Create a container and add files
doc = pydigidoc.Container.create("document.asice")
doc.add_data_file("report.pdf", "application/pdf")
# Sign with a PKCS#12 certificate
signer = pydigidoc.PKCS12Signer("certificate.p12", "password")
doc.sign(signer)
doc.save()
# Open and verify an existing container
doc = pydigidoc.Container.open("document.asice")
for sig in doc.signatures():
print(f"Signed by: {sig.signed_by()}")
sig.validate()
# Clean up
pydigidoc.terminate()
Building from source
Prerequisites
- Python 3.10+
- CMake 3.20+
- SWIG 4.0+
- C++23 compiler (GCC 13+, Clang 16+, MSVC 2022+)
- OpenSSL 3.5+, libxml2, zlib, xmlsec1
Build
git clone --recurse-submodules https://github.com/namespace-ee/pydigidoc.git
cd pydigidoc
uv build --wheel
License
LGPL-2.1-or-later. See LICENSE for the full text and RELINKING.md for relinking instructions.
Metadata
Release files for pydigidoc 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydigidoc-0.0.4.tar.gz | 1.7 MB | With provenance | Details for pydigidoc-0.0.4.tar.gz |
Built distributions (wheels)
Total release size: 74.3 MB
Release files / pydigidoc-0.0.4.tar.gz
| Download URL | pydigidoc-0.0.4.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14c274c7aa4bef5776bb5e8a856d0096dfc49a8b219e37003e6f63bd57a252d7
|
|
BLAKE2b-256 checksum How to use checksums |
524330310dfa04e1768f6d099c9f3dcc1bc8d26943dbddb10c12d6c12580e23f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp314-cp314-win_amd64.whl
| Download URL | pydigidoc-0.0.4-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5d4605a51f498f15e0cd6a9617e2a6e853ed04892e32877f33897d99940dd0c0
|
|
BLAKE2b-256 checksum How to use checksums |
0052f5dd420d9fcc31cf881435f8bf36aab516394147858ae9cb36a177c382cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp314-cp314-manylinux_2_28_x86_64.whl
| Download URL | pydigidoc-0.0.4-cp314-cp314-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.14 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
3fa0e1ee5be53eb02eda1a9daec73bffe78df6dcb31d2e3c2de2e5178af9ee16
|
|
BLAKE2b-256 checksum How to use checksums |
99da0f08d2bd8e12dbbb93003901da6df1e50d0109cc31735c2623242de441aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp314-cp314-macosx_15_0_arm64.whl
| Download URL | pydigidoc-0.0.4-cp314-cp314-macosx_15_0_arm64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.14 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
dd4aa866351468b90c3b7bea920ac9d7e72c9390105c22964eea1bb78537ec06
|
|
BLAKE2b-256 checksum How to use checksums |
a73b3597e89355b5575dd072086c88b517bcc1ce38e8904c040e6046100f2a78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp313-cp313-win_amd64.whl
| Download URL | pydigidoc-0.0.4-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ba14984513573236c02d96a85ecd186910b7c91b49a85301e7590ed2c62c5d95
|
|
BLAKE2b-256 checksum How to use checksums |
45a5206fa76f06ba39cf2c7cc091a26413aa967ecdb34ebf6dffddf0e88e93b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | pydigidoc-0.0.4-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
d1647971cdea1927e0bed2845ecf450c79ede81e491d554233a074952a277493
|
|
BLAKE2b-256 checksum How to use checksums |
01bff2fee8a08114420c9b939d3f0a7301d22814234a248d9b1c33841c9d57ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | pydigidoc-0.0.4-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8a9f7749d1f93987a69feb5e5b413401bcf2c43754c03b7fef725b0a1cede6bc
|
|
BLAKE2b-256 checksum How to use checksums |
d34d7b951feb2c9fb251e39d3696531ad2e083377c4329271c28962a54c0dab3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp312-cp312-win_amd64.whl
| Download URL | pydigidoc-0.0.4-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9d2b27a4c12fd85e3cef597b02650dfee995aa6305b9b7af1878dd3a22b9bb06
|
|
BLAKE2b-256 checksum How to use checksums |
f281da4976aa246398fd9fea224efd85c1212bc3c73ec0023637bdf15d2ce66a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | pydigidoc-0.0.4-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
df6ab8aa1df9104994dc79e760b465d6c3c63f54babe29bb1de9a4339b6233e9
|
|
BLAKE2b-256 checksum How to use checksums |
71b89563733a07816bb3399c2fc4f9a9870e7735ad824a45ee04f2d398e43924
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp312-cp312-macosx_15_0_arm64.whl
| Download URL | pydigidoc-0.0.4-cp312-cp312-macosx_15_0_arm64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.12 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
94576904ef00996ffcb3f983fbabdadc857f27bea57af5685b5880ce8e76f774
|
|
BLAKE2b-256 checksum How to use checksums |
a0652d1ed3d7d7fb009a430480378cdcdbb143cbcfe09546ff64d41e00636d81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp311-cp311-win_amd64.whl
| Download URL | pydigidoc-0.0.4-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
be92281b86a93785e78db4ec7fa1719c4bbf390752e05a4bf607a5406cce2762
|
|
BLAKE2b-256 checksum How to use checksums |
de913ca1dc586eaaf995a545cdc710a0045bc4859ad7969a405277c99c5b23f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | pydigidoc-0.0.4-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
0bdb0f5eeda409bd625869131af9556369b201a430934832b1ca94ead5f3068d
|
|
BLAKE2b-256 checksum How to use checksums |
5d29c0ae6b25d48dbbdd075c76c73ebfb6819abb570753309faa7deecda59fef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp311-cp311-macosx_15_0_arm64.whl
| Download URL | pydigidoc-0.0.4-cp311-cp311-macosx_15_0_arm64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.11 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4e455877ad45ce68de699865db80755cda5d66cb37d168cde119b334764827c6
|
|
BLAKE2b-256 checksum How to use checksums |
6454ded7b42850c7ae0a8a3839bfcb2bd054f6951ae55e2fbdff508ef2f7ce12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp310-cp310-win_amd64.whl
| Download URL | pydigidoc-0.0.4-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
24ccd670312cb5f25f6562423fc7051d7b9504c98c319c5a41c7be0db7ac4ddd
|
|
BLAKE2b-256 checksum How to use checksums |
6c6fa810873beb860191210bd30c4b26dd528462265e3840454b768cf8fd5d67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | pydigidoc-0.0.4-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
8d7676ad08e7ce0f56866d21a1318180e9425718ca135fe34ac8d4b9bcd38649
|
|
BLAKE2b-256 checksum How to use checksums |
d790baaef75bc1f06a6d6bcd774ee9e9dac830bc320d2b4de5cde7154cda074c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logRelease files / pydigidoc-0.0.4-cp310-cp310-macosx_15_0_arm64.whl
| Download URL | pydigidoc-0.0.4-cp310-cp310-macosx_15_0_arm64.whl |
|---|---|
| Size | 3.9 MB |
| Tags | CPython 3.10 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
dace461499126a869667eb066fdadcd75cb380b494be9b4375d8c53660fd3c10
|
|
BLAKE2b-256 checksum How to use checksums |
fe1ca3f8e19b4991a8addb536e97708e0dd3c796906f9caf5cc5b47627046476
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logSecurity for pydigidoc 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 16 files in this release have been uploaded with provenance metadata.
Attestation for pydigidoc-0.0.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.