B --> C[Schema Validation]
C --> D["Scheme Profile
(optional)"]
D --> E[SWIFT Charset Cleansing]
E --> F[Jinja2 Template]
F --> G[XSD Validation]
G --> H[pacs.008 XML]
---
## Development
```bash
git clone https://github.com/sebastienrousseau/pacs008.git
cd pacs008
poetry install --extras otel
poetry shell
make check # ruff + black + mypy + bandit + pytest + example scripts
make test # pytest with coverage
make test-fast # pytest without coverage
make lint # ruff + black --check
make type-check # mypy --strict
Quality gates (CI-enforced):
| Gate | Tool |
|---|---|
| Lint | ruff check pacs008/ |
| Format | black --check pacs008/ tests/ |
| Types | mypy pacs008/ (strict mode) |
| Tests | pytest --cov=pacs008 (90% branch-coverage floor) |
| Security | bandit -r pacs008/ |
| Smoke | pytest -m smoke |
| Cross-platform matrix | Python 3.10 — 3.12 × Ubuntu / macOS / Windows |
Security
Security issues should be reported privately via GitHub's Security
Advisories
or by email to contact@sebastienrousseau.com. See SECURITY.md
for the full disclosure policy, SLA targets, and hardening guidance for
production deployments.
Highlights:
- XXE protection via
defusedxmlon every parse path. - Path-traversal protection in
pacs008.security.path_validator. - Automatic PII redaction (IBAN / BIC / name / account) in structured logs.
- Tamper-evident Ed25519-signed audit records for every generation event.
Licence
Licensed under the Apache Licence, Version 2.0.
See LICENSE for the full text. Unless you explicitly state
otherwise, any contribution intentionally submitted for inclusion in the work
shall be licensed as above, without any additional terms or conditions.
Contributing
Contributions are welcome — please read CONTRIBUTING.md
first. All contributors agree to abide by the project's code of conduct, and
all pull requests must pass the full CI matrix (make check).
Thanks to all our contributors.
Metadata
Release files for pacs008 0.0.15
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 | |
|---|---|---|---|---|
| pacs008-0.0.15.tar.gz | 228.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pacs008-0.0.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 564.4 kB
Release files / pacs008-0.0.15.tar.gz
| Download URL | pacs008-0.0.15.tar.gz |
|---|---|
| Size | 228.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5c91e5ce8e7538db8dddf4bc1612c117108f584d3d83c0218634bb777e61220
|
|
BLAKE2b-256 checksum How to use checksums |
2b819ca5627fba4f9ee080a17fd6991cca1924f3fd5f19fa4cb4998940801d2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / pacs008-0.0.15-py3-none-any.whl
| Download URL | pacs008-0.0.15-py3-none-any.whl |
|---|---|
| Size | 336.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39c9f2782990ee02d263707413e565b3db3d6982abae14ae239a4664d70a0cfb
|
|
BLAKE2b-256 checksum How to use checksums |
c6f3fe3465008723c6ed01fc884988ff3cc00a23c756ac86d1e89a73401f3f3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for pacs008 0.0.15
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.