Convert JSON/YAML files to Microsoft Word (.docx) format using Markdown and Pandoc
Project description
conv2docx
A simple CLI tool to convert JSON/YAML files into Microsoft Word (.docx) documents.
Overview
This script wraps JSON content in markdown delimiters (\json) and uses
Pandoc via the pypandoc module to convert it
to a .docx document — useful when you need to turn structured data into printable
or editable documents.
YAML is also supported. It convert to JSON and then processed as JSON/
Features
- Converts
.json/yamlfiles to.docx - Supports single file mode and batch processing
- Automatically creates and cleans up temporary files
- Can be used as a command-line utility
Usage
To convert a single file:
conv2docx input.json
To convert all .json files in the current directory:
conv2docx
parameter --keep-temp keeps temporary files
Installation
pip install conv2docx
Requirements
Python >= 3.7
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file conv2docx-0.1.7.tar.gz.
File metadata
- Download URL: conv2docx-0.1.7.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ccd713531326cf88ac84747eda618567e933514dc6b031c86d1da88784e4b00
|
|
| MD5 |
f9465055254b840246733ea194af2bd7
|
|
| BLAKE2b-256 |
6431a5b289d0ef27fcbb9b2fc07b734b4478b81d19a380997ac01934cc9054af
|
File details
Details for the file conv2docx-0.1.7-py3-none-any.whl.
File metadata
- Download URL: conv2docx-0.1.7-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e8a8bfa1ca4a9c43d612ccba2206366cd7942114e78ceb59d7abd931a048429
|
|
| MD5 |
a45cdbcee5d56e4e245481d5ce27dbd9
|
|
| BLAKE2b-256 |
689739d70fb0e2cf4fc308b62203bcf2299472ac400f7c4d04c2e97a8e5b57fe
|