simple-resume 0.1.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of simple-resume might be problematic. Click here for more details.
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: simple-resume
|
|
3
|
+
Version: 0.1.5
|
|
4
|
+
Summary: Generate PDF resumes from YAML data using HTML templates
|
|
5
|
+
Author-email: Alex Thola <alexthola@gmail.com>
|
|
6
|
+
Maintainer-email: Alex Thola <alexthola@gmail.com>
|
|
7
|
+
License: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Requires-Python: >=3.10
|
|
10
|
+
Requires-Dist: jinja2<4.0,>=3.0
|
|
11
|
+
Requires-Dist: markdown<4.0,>=3.7
|
|
12
|
+
Requires-Dist: oyaml<2.0,>=1.0
|
|
13
|
+
Requires-Dist: palettable<4.0,>=3.3.3
|
|
14
|
+
Requires-Dist: weasyprint<63.0,>=62.1
|
|
15
|
+
Provides-Extra: utils
|
|
16
|
+
Requires-Dist: mypy<2.0,>=1.11.0; extra == 'utils'
|
|
17
|
+
Requires-Dist: pytest-cov<6.0,>=5.0.0; extra == 'utils'
|
|
18
|
+
Requires-Dist: pytest-mock<4.0,>=3.14.0; extra == 'utils'
|
|
19
|
+
Requires-Dist: pytest<9.0,>=8.3.3; extra == 'utils'
|
|
20
|
+
Requires-Dist: pytype>=2024.10.11; (python_version >= '3.10') and extra == 'utils'
|
|
21
|
+
Requires-Dist: ruff<1.0,>=0.7.0; extra == 'utils'
|
|
22
|
+
Requires-Dist: ty>=0.0.1a23; extra == 'utils'
|
|
23
|
+
Requires-Dist: types-markdown<4.0,>=3.7.2; extra == 'utils'
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
_Generate polished PDF and HTML resumes from a single YAML file._
|
|
29
|
+
|
|
30
|
+
[](https://pypi.org/project/simple-resume/)
|
|
31
|
+
[](https://github.com/athola/simple-resume/blob/main/LICENSE)
|
|
32
|
+
[](https://github.com/athola/simple-resume/actions/workflows/code-quality.yml)
|
|
33
|
+
[](https://github.com/athola/simple-resume/actions/workflows/lint.yml)
|
|
34
|
+
[](https://github.com/athola/simple-resume/actions/workflows/test.yml)
|
|
35
|
+
[](https://codecov.io/gh/athola/simple-resume)
|
|
36
|
+
[](https://pypi.org/project/simple-resume/)
|
|
37
|
+
|
|
38
|
+
# simple-resume
|
|
39
|
+
|
|
40
|
+
`simple-resume` is a Python 3.10+ CLI and library for converting structured YAML into production-ready resumes (PDF, HTML, or LaTeX). Templates and static assets ship with the package such that users can render without needing to create additional content.
|
|
41
|
+
|
|
42
|
+
## Supported platforms
|
|
43
|
+
|
|
44
|
+
- Python: 3.10+ (tested in CI)
|
|
45
|
+
- OS: Linux, macOS, Windows. PDF output uses WeasyPrint; ensure Cairo/Pango/GTK are available on your platform (see [Usage Guide](wiki/Usage-Guide.md#system-dependencies)).
|
|
46
|
+
|
|
47
|
+
## Installation
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
# With uv (recommended)
|
|
51
|
+
uv add simple-resume
|
|
52
|
+
|
|
53
|
+
# With pip
|
|
54
|
+
pip install simple-resume
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Why Simple-Resume
|
|
58
|
+
|
|
59
|
+
- Keep your resume version-controlled as plain YAML.
|
|
60
|
+
- Swap templates, palettes, and formats without rewriting content.
|
|
61
|
+
- Pure-Python core with shell adapters; effects are testable and side-effect aware.
|
|
62
|
+
- Bundled HTML templates and static assets prevent "TemplateNotFound" errors in wheels/editable installs.
|
|
63
|
+
|
|
64
|
+
## Feature Comparison
|
|
65
|
+
|
|
66
|
+
| Feature | simple-resume | JSON Resume | HackMyResume | Resume.io |
|
|
67
|
+
|---------|---------------|-------------|---------------|-----------|
|
|
68
|
+
| **Open Source** | ✓ | ✓ | ✓ | ✗ |
|
|
69
|
+
| **Data Format** | YAML | JSON | JSON/FRESH | Proprietary |
|
|
70
|
+
| **Version Control** | ✓ Git-friendly | ✓ Git-friendly | ✓ Git-friendly | ✗ Cloud-only |
|
|
71
|
+
| **Local Processing** | ✓ 100% private | ✓ 100% private | ✓ 100% private | ✗ Cloud storage |
|
|
72
|
+
| **Template System** | HTML + Jinja2 | JSON themes | Multiple formats | Web builder |
|
|
73
|
+
| **LaTeX Support** | ✓ Professional | ✗ | ✗ | ✗ |
|
|
74
|
+
| **Python API** | ✓ Native | ✗ | ✗ | ✗ |
|
|
75
|
+
| **CLI Tools** | ✓ | ✓ | ✓ | ✗ |
|
|
76
|
+
| **Real-time Preview** | ✓ HTML + auto-reload | ✗ | ✗ | ✓ |
|
|
77
|
+
| **Custom Themes** | ✓ Unlimited | ~ Limited | ~ Limited | ~ Paid only |
|
|
78
|
+
| **Color Palettes** | ✓ Professional | ✗ | ~ Basic | ~ Limited |
|
|
79
|
+
| **Privacy** | ✓ | ✓ | ✓ | ✗ Data stored on servers |
|
|
80
|
+
| **Setup Time** | 5 min | 10 min | 15 min | 2 min |
|
|
81
|
+
| **Learning Curve** | Moderate | Easy | Easy | Easiest |
|
|
82
|
+
|
|
83
|
+
### Key Advantages
|
|
84
|
+
|
|
85
|
+
**Best for Developers**: Version control, automation, Python integration, privacy
|
|
86
|
+
**Best for Privacy**: 100% local processing with no data exposure
|
|
87
|
+
**Most Flexible**: HTML templates + unlimited customization
|
|
88
|
+
**Professional Output**: LaTeX typesetting for academic/technical resumes
|
|
89
|
+
|
|
90
|
+
**Legend: ✓ = Supported, ✗ = Not Supported, ~ = Limited**
|
|
91
|
+
|
|
92
|
+
*See [Detailed Comparison](wiki/Comparison.md) for full analysis and use case recommendations.*
|
|
93
|
+
|
|
94
|
+
### Development setup
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
git clone https://github.com/athola/simple-resume.git
|
|
98
|
+
cd simple-resume
|
|
99
|
+
uv sync --dev --extra utils # or: pip install -e .[dev,utils]
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Quick start (CLI)
|
|
103
|
+
|
|
104
|
+
Create a minimal YAML in `resume_private/input/my_resume.yaml`:
|
|
105
|
+
|
|
106
|
+
```yaml
|
|
107
|
+
template: resume_no_bars
|
|
108
|
+
full_name: Jane Doe
|
|
109
|
+
email: jane.doe@example.com
|
|
110
|
+
body:
|
|
111
|
+
Experience:
|
|
112
|
+
- title: Senior Engineer
|
|
113
|
+
company: TechCorp
|
|
114
|
+
start: 2022
|
|
115
|
+
end: Present
|
|
116
|
+
description: |
|
|
117
|
+
- Lead microservices migration
|
|
118
|
+
- Improved latency by 40%
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
Generate output:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
uv run simple-resume generate --format pdf # PDF
|
|
125
|
+
uv run simple-resume generate --format html --open # HTML + open in browser
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Built-in templates: `resume_no_bars`, `resume_with_bars`, `demo.html` (see `src/simple_resume/shell/assets/templates/html/`). Static assets live under `.../assets/static/`.
|
|
129
|
+
|
|
130
|
+
## Python API
|
|
131
|
+
|
|
132
|
+
```python
|
|
133
|
+
from simple_resume import generate, preview
|
|
134
|
+
from simple_resume.shell.generate import GenerateOptions
|
|
135
|
+
|
|
136
|
+
options = GenerateOptions(formats=["pdf", "html"], template="resume_with_bars")
|
|
137
|
+
results = generate("resume_private/input/my_resume.yaml", options)
|
|
138
|
+
print(results["pdf"].output_path)
|
|
139
|
+
|
|
140
|
+
# Browser preview
|
|
141
|
+
preview("resume_private/input/my_resume.yaml")
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
For batch operations:
|
|
145
|
+
|
|
146
|
+
```python
|
|
147
|
+
from simple_resume.shell.session import ResumeSession
|
|
148
|
+
|
|
149
|
+
with ResumeSession(data_dir="resume_private") as session:
|
|
150
|
+
session.generate_all(format="pdf")
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## Customization
|
|
154
|
+
|
|
155
|
+
- **Palettes**: `--palette "Professional Blue"` or `--palette path/to/palette.yaml`.
|
|
156
|
+
- **Custom templates**: `--template custom.html` with `--templates-dir /path/to/templates`.
|
|
157
|
+
- **LaTeX**: set `config.output_mode: latex` and compile with your TeX toolchain (see [Usage Guide](wiki/Usage-Guide.md#latex-output)).
|
|
158
|
+
- **Color utilities**: `simple_resume.core.colors.get_contrasting_text_color` for accessibility checks.
|
|
159
|
+
|
|
160
|
+
## Release workflow
|
|
161
|
+
|
|
162
|
+
Releases are automated via GitHub Actions. To create a new release:
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
# Tag the version (must start with 'v')
|
|
166
|
+
git tag v0.1.2
|
|
167
|
+
git push origin v0.1.2
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
The workflow builds the package, generates a changelog from commit history, and publishes a GitHub release with distribution artifacts.
|
|
171
|
+
|
|
172
|
+
## Workflows & docs
|
|
173
|
+
|
|
174
|
+
- **Guides**: [Getting Started](wiki/Getting-Started.md), [Usage](wiki/Usage-Guide.md), [Workflows](wiki/Workflows.md), [Path Handling](wiki/Path-Handling-Guide.md).
|
|
175
|
+
- **Architecture**: [Architecture Guide](wiki/Architecture-Guide.md) and `wiki/architecture/`.
|
|
176
|
+
- **Migration**: [Migration Guide](wiki/Migration-Guide.md) plus [Generate module migration](wiki/Migration-Guide-Generate-Module.md).
|
|
177
|
+
- **Development**: [Development Guide](wiki/Development-Guide.md), [Contributing](wiki/Contributing.md), [PDF renderer evaluation](wiki/PDF-Renderer-Evaluation.md).
|
|
178
|
+
- **Samples**: `sample/` directory; `sample_dark_sidebar.html` preview.
|
|
179
|
+
|
|
180
|
+
## Troubleshooting
|
|
181
|
+
|
|
182
|
+
- `TemplateNotFound`: confirm installation includes packaged assets (bundled in wheels/editable installs); custom templates require `--templates-dir`.
|
|
183
|
+
- PDF on Linux: install system libs `cairo`, `pango`, `gdk-pixbuf` (WeasyPrint requirement).
|
|
184
|
+
|
|
185
|
+
## Contributing
|
|
186
|
+
|
|
187
|
+
1. Follow the [Development Guide](wiki/Development-Guide.md) to set up tools.
|
|
188
|
+
2. Run `make lint` and `make test` (or `make check-all validate`) before opening a PR.
|
|
189
|
+
3. Submit issues or ideas in [GitHub Issues](https://github.com/athola/simple-resume/issues) or discussions.
|
|
190
|
+
|
|
191
|
+
## License
|
|
192
|
+
|
|
193
|
+
MIT License. See [LICENSE](LICENSE).
|
|
194
|
+
|
|
195
|
+
## Star history
|
|
196
|
+
|
|
197
|
+
[](https://www.star-history.com/#athola/simple-resume&type=date&legend=top-left)
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
simple_resume-0.1.5.dist-info/METADATA,sha256=F4k5Xja305B9OKaQRMwTxL5ca-QuYXfs-nsFdEFJV0M,8282
|
|
2
|
+
simple_resume-0.1.5.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
3
|
+
simple_resume-0.1.5.dist-info/entry_points.txt,sha256=_PUlEIdeoCdtPipEbv_rlflxr8M7Wrpi2eXeFThqoA8,269
|
|
4
|
+
simple_resume-0.1.5.dist-info/licenses/LICENSE,sha256=anMUBKaKdRmMX9aAzlUPVvIW8YwTYkLvTDGekSLLTr8,1063
|
|
5
|
+
simple_resume-0.1.5.dist-info/RECORD,,
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
[console_scripts]
|
|
2
|
+
generate-random-palette-demo = simple_resume.shell.cli.random_palette_demo:main
|
|
3
|
+
palette-list = simple_resume.shell.cli.palette:palette_list
|
|
4
|
+
palette-snapshot = simple_resume.shell.cli.palette:snapshot
|
|
5
|
+
simple-resume = simple_resume.shell.cli:main_entry
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 athola
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|