JSON-Resume
Generate a polished DOCX resume from strict, structured JSON.
json-resume validates your resume data before rendering, applies a stable Word layout with locale-aware paper sizes, and provides both a command-line tool and Python APIs. It is designed for repeatable resume generation in local scripts, automation, and backend services.
Install
python -m pip install json-resume
The package installs its DOCX and PDF-related Python dependencies together. PDF export uses local Microsoft Word through docx2pdf.
Command line
Create a JSON resume, then generate a DOCX:
json-resume resume.json
By default, output is written to output/resume.docx under the current working directory. Common options:
json-resume resume.json -o resume.docx
json-resume resume.json --pdf
json-resume resume.json -o resume.docx --force
--pdf additionally writes a sibling PDF after DOCX generation. --force is required before replacing an existing DOCX or PDF.
Python API
Use the file-level API in scripts and automation:
from resume_generator import render_json_file_to_docx
output_path = render_json_file_to_docx(
"resume.json",
"resume.docx",
)
print(output_path)
Use the in-memory API in HTTP services or other integrations:
from resume_generator import render_json_to_docx
docx_bytes = render_json_to_docx(data)
Both APIs use the same strict validation and rendering core as the CLI. Validation failures raise FieldError with a precise JSON source path.
JSON contract
The top-level JSON object must contain exactly locale, basics, and sections.
{
"locale": "en-US",
"basics": {
"name": "Example Candidate",
"contacts": [
{
"label": "candidate@example.com",
"href": "mailto:candidate@example.com"
}
]
},
"sections": [
{
"title": "Experience",
"entries": [
{
"title": "Example Organization",
"position": "Analyst Intern",
"location": "New York, NY",
"start_date": "2025-06",
"end_date": "Present",
"bullets": [
"Completed a fact-supported contribution."
]
}
]
}
]
}
Supported locales are zh-CN, en-US, en-GB, and en-EU. en-US produces Letter paper; the others produce A4. Locale controls paper size only and does not translate content.
Read the full JSON contract, examples, and usage guide.
Project links
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 json_resume-1.1.1.tar.gz.
File metadata
- Download URL: json_resume-1.1.1.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24bc44a862e2cfeda39a30fbced1edd07d2c93cc259a9d1c79e6e275dd902835
|
|
| MD5 |
abdca870ab33e274c7bafebcbd07ee7a
|
|
| BLAKE2b-256 |
0c48ee885d76bfbfef08fc7fec3dd0ee50ca823530c2f35c85b75484bc2bfa31
|
Provenance
The following attestation bundles were made for json_resume-1.1.1.tar.gz:
Publisher:
release.yml on Eric-Zhou-0302/JSON-Resume
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
json_resume-1.1.1.tar.gz -
Subject digest:
24bc44a862e2cfeda39a30fbced1edd07d2c93cc259a9d1c79e6e275dd902835 - Sigstore transparency entry: 2649139930
- Sigstore integration time:
-
Permalink:
Eric-Zhou-0302/JSON-Resume@7d789172cb757385747f7330207fec45b0b1d836 -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/Eric-Zhou-0302
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7d789172cb757385747f7330207fec45b0b1d836 -
Trigger Event:
push
-
Statement type:
File details
Details for the file json_resume-1.1.1-py3-none-any.whl.
File metadata
- Download URL: json_resume-1.1.1-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ee51e007a8c628ec524d47cddfcd479b57e262b5c20a0a782cdd498871bd8b1
|
|
| MD5 |
3a0affd686a250a4fcc89927aa349847
|
|
| BLAKE2b-256 |
106dcaaf537f91b2c498486c0e51e9e67af7ac9dd436019432a387b3bf8e1072
|
Provenance
The following attestation bundles were made for json_resume-1.1.1-py3-none-any.whl:
Publisher:
release.yml on Eric-Zhou-0302/JSON-Resume
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
json_resume-1.1.1-py3-none-any.whl -
Subject digest:
4ee51e007a8c628ec524d47cddfcd479b57e262b5c20a0a782cdd498871bd8b1 - Sigstore transparency entry: 2649139978
- Sigstore integration time:
-
Permalink:
Eric-Zhou-0302/JSON-Resume@7d789172cb757385747f7330207fec45b0b1d836 -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/Eric-Zhou-0302
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7d789172cb757385747f7330207fec45b0b1d836 -
Trigger Event:
push
-
Statement type: