Contents
Overview
dbrownell_ResumeTools separates a resume's content from its presentation.
Content is written once as JSON Resume data (json or yaml). Presentation is a css or less stylesheet applied to the html generated from that content. Updating a resume is then a matter of editing data rather than editing a document, and restyling one is a matter of changing a stylesheet rather than reformatting every entry by hand.
Text values within the content may be written as markdown, so emphasis, links, and lists live alongside the data that they decorate.
The generated html names what each value is rather than how it is displayed, and references no stylesheet other than the one provided. Layout, icons, fonts, and the resources that provide them are all decided by that stylesheet, so the same content can be presented in completely different ways without the generator being involved.
How to use dbrownell_ResumeTools
Generate html from resume content and a stylesheet:
uv run dbrownell_ResumeTools <content_filename> <style_filename> <output_directory>
| Argument | Description |
|---|---|
<content_filename> |
json or yaml content that conforms to the JSON Resume schema. |
<style_filename> |
A .css or .less stylesheet; less content is compiled to css. |
<output_directory> |
Directory populated with the generated index.html and the stylesheet that it references. |
Sample content and themes are included with the package; this command generates and displays the sample resume when it is run from the directory that contains them:
uv run dbrownell_ResumeTools samples/resume.json themes/standard.less ./output --serve --browser
--serve serves the generated content over http and --browser displays it in a browser, which is served until that browser is closed. Run uv run dbrownell_ResumeTools --help for all available options.
Creating a pdf
Print the displayed content to a pdf from the browser itself (Ctrl+P / Cmd+P, then "Save as PDF"). The bundled stylesheets define @media print rules that compact the content for a printed page, so no separate command is involved. The pdf produced by each bundled stylesheet is linked in the table below.
Writing a stylesheet
The generated html assigns a class to every value that names what the value is: the section that contains it (work, education, skills, ...), its role within that section (section-header, entry, entry-body, detail, ...), and the schema field that produced it (position, startDate, gpa, keyword, ...). Icons are empty icon elements that a stylesheet fills in through ::before. That contract is documented in full at the top of standard.less, and a stylesheet is free to lay those classes out however it likes.
Four stylesheets are bundled to demonstrate the range. All of them are applied to the same resume.json and to the same generated html:
| Stylesheet | Presentation | Sample |
|---|---|---|
standard.less (and the standard.css it compiles to) |
A single column with a serif display face, a tinted title, and keywords as badges. | |
sidebar.less |
Two columns with a dark sidebar, icons on the profiles alone, right-aligned dates, and keywords as a run of text. | |
timeline.less |
A full-width banner, dated entries hung off a vertical rail, and keywords as tags. | |
minimal.less |
Monochrome and monospaced, set in a nerd font whose glyphs replace the labels that would otherwise introduce a value. |
Installation
| Installation Method | Command |
|---|---|
| Via uv | uv add dbrownell_ResumeTools |
| Via pip | pip install dbrownell_ResumeTools |
Verifying Signed Artifacts
Artifacts are signed and verified using py-minisign and the public key in the file ./minisign_key.pub.
To verify that an artifact is valid, visit the latest release and download the .minisign signature file that corresponds to the artifact, then run the following command, replacing <filename> with the name of the artifact to be verified:
uv run --with py-minisign python -c "import minisign; minisign.PublicKey.from_file('minisign_key.pub').verify_file('<filename>'); print('The file has been verified.')"
Development
Please visit Contributing and Development for information on contributing to this project.
Additional Information
Additional information can be found at these locations.
| Title | Document | Description |
|---|---|---|
| Code of Conduct | CODE_OF_CONDUCT.md | Information about the norms, rules, and responsibilities we adhere to when participating in this open source community. |
| Contributing | CONTRIBUTING.md | Information about contributing to this project. |
| Development | DEVELOPMENT.md | Information about development activities involved in making changes to this project. |
| Governance | GOVERNANCE.md | Information about how this project is governed. |
| Maintainers | MAINTAINERS.md | Information about individuals who maintain this project. |
| Security | SECURITY.md | Information about how to privately report security issues associated with this project. |
License
dbrownell_ResumeTools is licensed under the MIT license.
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 dbrownell_resumetools-0.9.1.tar.gz.
File metadata
- Download URL: dbrownell_resumetools-0.9.1.tar.gz
- Upload date:
- Size: 41.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75dce0ff4f8b9e3346e22e1cbf2b2495c479ef0ac651fb735ea3a6e719a8c311
|
|
| MD5 |
157e6f0accac7432e0fab62b7741cf74
|
|
| BLAKE2b-256 |
223198c52d254e6a375f59f16390aea6e9f40a704a0b2743eabcf4862230879c
|
File details
Details for the file dbrownell_resumetools-0.9.1-py3-none-any.whl.
File metadata
- Download URL: dbrownell_resumetools-0.9.1-py3-none-any.whl
- Upload date:
- Size: 51.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e61237e536cce5e068b85602e4d488e4cbd640a0efa17039c1d9fbe040a66aa
|
|
| MD5 |
f463a8d652afe813716e4f15858e6bed
|
|
| BLAKE2b-256 |
56c3e2a60f63c8e062db8e93a595f61501399466f16efe26eec0560be7492907
|