esf-convert
Convert ECHO Single Form (ESF) XML files to Markdown or Word documents.
Web Interface
Use the converter directly in your browser - no installation required:
Launch Web App The web app runs entirely client-side using WebAssembly. Your files are never uploaded to any server.
Installation
uv tool install esf-convert
Usage
# Convert to Word document (default)
esf-convert form.xml
# Convert to Markdown
esf-convert form.xml -f md
# Specify output file (format auto-detected from extension)
esf-convert form.xml -o report.md
# Explicit format with custom output name
esf-convert form.xml -f md -o my-report
Options
| Option | Description |
|---|---|
-o, --output |
Output file path (default: input filename with .docx extension) |
-f, --format |
Output format: docx (Word, default) or md (Markdown). Auto-detected from output extension if not specified. |
Features
- Structured output - Chapters, sections, and subsections with proper heading hierarchy
- Complete report structure - Preserves numbered sections even when their response is blank, including final-report fields
- Field tips - Form guidelines/tips displayed in italics below each field heading
- Enum labels - Numeric values (0, 1, 2) converted to human-readable labels (No, Yes, Partially, etc.)
- Outcome indicators - Section 7.2 indicators with definition, baseline, target, and progress values
- Results - Section 7.3 results with indicators and activities
- Final-report details - Achieved values, final sources and totals, indicator reports, activity reports, and result conclusions
- Metadata - Reference numbers, dates, document type (YAML frontmatter in Markdown, table in DOCX)
Development
Requires Python 3.10+.
Metadata
Release files for esf-convert 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| esf_convert-1.1.1.tar.gz | 28.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| esf_convert-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.9 kB
Release files / esf_convert-1.1.1.tar.gz
| Download URL | esf_convert-1.1.1.tar.gz |
|---|---|
| Size | 28.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
865958387da53d6425436784d864ac031ea36994f31d1764d4d6cfe4f8867347
|
|
BLAKE2b-256 checksum How to use checksums |
8823e7283f0921cd52e664cd56b629eff22af9f877bdc21dad59f12c782c3530
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 9, 2026.
Transparency logRelease files / esf_convert-1.1.1-py3-none-any.whl
| Download URL | esf_convert-1.1.1-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5db1abf7292e956f5237bdb1af9071d404e6bcbc20131f1425a77cc5299825c6
|
|
BLAKE2b-256 checksum How to use checksums |
d271fe56988648fd11d57b69f63693d4cea2d97bc096ffd8d838e8075f1a7cb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 9, 2026.
Transparency log