A lightweight Python library for extracting structured information from PDF resumes
Project description
ResumeMiner
A lightweight Python library for extracting structured information from PDF resumes.
Features
- PDF text extraction via
pypdf - Email and phone number extraction
- LinkedIn, GitHub, and portfolio URL extraction
- Configurable skill matching against a bundled default list
- Simple API and command-line interface
- Structured dictionary output with raw extracted text
Installation
pip install resumeminer
Requires Python 3.9 or newer.
Development
git clone https://github.com/alixaprodev/resumeminer.git
cd resumeminer
pip install -e ".[dev]"
Quick Start
from resumeminer import ResumeParser
parser = ResumeParser("resume.pdf")
result = parser.parse()
print(result["email"])
print(result["skills"])
from resumeminer import parse_resume
result = parse_resume("resume.pdf")
print(result)
Optional custom skills list:
parser = ResumeParser("resume.pdf", skills=["Python", "Rust", "Go"])
result = parser.parse()
CLI Usage
Parse a resume:
resumeminer parse resume.pdf
Human-readable output (default):
Email: jane.developer@example.com
Phone: +1 (555) 123-4567
LinkedIn: https://linkedin.com/in/jane-developer
GitHub: https://github.com/janedev
Portfolio: https://janedeveloper.dev
Skills: Python, Django, React, Docker, AWS
Full JSON output (includes raw_text):
resumeminer parse resume.pdf --json
Print version:
resumeminer --version
Output Example
{
"email": "jane.developer@example.com",
"phone": "+1 (555) 123-4567",
"links": {
"linkedin": "https://linkedin.com/in/jane-developer",
"github": "https://github.com/janedev",
"portfolio": "https://janedeveloper.dev"
},
"skills": ["Python", "Django", "React", "Docker", "AWS"],
"raw_text": "..."
}
Supported Files
- PDF resumes with extractable text
Scanned or image-only PDFs are not supported in v0.1.0.
Limitations
- Extraction quality depends on PDF structure and formatting
- Regex-based parsing may miss or misread fields on unusual layouts
- Skill detection uses a fixed default list unless a custom list is provided
- Phone and portfolio URL extraction may return imperfect matches on some resumes
Roadmap
- OCR support for scanned resumes
- DOCX and TXT file support
- Name, education, and experience extraction
- Section-based parsing
- Custom skill dictionary file path
- JSON schema output
- Batch parsing CLI
Contributing
Contributions are welcome.
- Fork github.com/alixaprodev/resumeminer
- Create a feature branch
- Add tests for behavior changes
- Run
pytest - Open a pull request
Report issues on GitHub Issues.
License
MIT License. See LICENSE.
Author
H. Ali
- GitHub: github.com/alixaprodev
- Email: haxratali0@gmail.com
Project details
Release history Release notifications | RSS feed
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 resumeminer-0.1.0.tar.gz.
File metadata
- Download URL: resumeminer-0.1.0.tar.gz
- Upload date:
- Size: 368.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02b6961890fff9cc704d1d8032b7a92fd21dfa8e4262c1027d30a364ac55e3f1
|
|
| MD5 |
f44c31f3b0ead655e522b145f16d784a
|
|
| BLAKE2b-256 |
733d62971917edafd4e493bdc70bf69d11605eeb6f2d2b8ebde41be93dcec0f0
|
File details
Details for the file resumeminer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: resumeminer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5744de19e2ce2fdbed91e3b2bfb5cbf3c78a50bd59ec569fa6fde8336d93b8a
|
|
| MD5 |
c1886b7ae3731b2792995bfabf3319ec
|
|
| BLAKE2b-256 |
c9d38c869f779de797c0785f1b45b04745a81f2905353077e1b64793247b62cd
|