Skip to main content

OpenResume Parser for Python

openresume-parser extracts structured, ATS-friendly resume data from PDF files or already-extracted text items. Parsing runs locally by default.

Install

Install the released package from PyPI:

py -m pip install openresume-parser

Install the optional OCR support when needed:

py -m pip install "openresume-parser[ocr]"

Usage

from openresume import parse_resume_from_pdf, parse_resume_from_text_items

result = parse_resume_from_pdf("resume.pdf")
if result["ok"]:
    print(result["resume"]["contact"]["email"])
else:
    print(result["error"]["code"], result["error"]["message"])

native_result = parse_resume_from_text_items([
    {
        "text": "JANE DOE",
        "x": 40, "y": 760, "width": 80, "height": 12,
        "fontName": "Helvetica-Bold", "hasEOL": True,
        "pageNumber": 1, "sourceIndex": 0,
    },
])

PDF parsing uses pypdf. OCR.Space is opt-in and requires an API key supplied by the application:

result = parse_resume_from_pdf(
    "scanned-resume.pdf",
    {"api_key": "your-api-key", "language": "eng"},
)

Build and publish

Run these commands from this directory:

py -m pip install --upgrade build twine
py -m build
py -m twine check dist/*
py -m twine upload dist/*

For a local install while developing:

py -m pip install -e ".[test]"
py -m pytest

Do not commit PyPI credentials or OCR API keys. The package requires Python 3.9 or newer.

Metadata

Release files for openresume-parser 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openresume-parser 0.1.0
File Size Uploaded Provenance
openresume_parser-0.1.0.tar.gz 20.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for openresume-parser 0.1.0
File Interpreter ABI Platform
openresume_parser-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 40.4 kB

Release files / openresume_parser-0.1.0.tar.gz

Download URL openresume_parser-0.1.0.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
42b627dc984b4cc51435373f2fe937e0a630d2e18bdafe11e6d1e17692c74a67
BLAKE2b-256 checksum
How to use checksums
72343244f0dbd790e287548e03952d35117fdcb8f964246a8a54a92f8c49d7ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / openresume_parser-0.1.0-py3-none-any.whl

Download URL openresume_parser-0.1.0-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
778db4535e12e15bab79531636b390cdef8a1fa0d85d4ce1ce8de6c8e9e7004c
BLAKE2b-256 checksum
How to use checksums
4b2013dcda87daa9e6ee43fdc7225bd6d5cc7050d7a3833f0e772b7f9e3c3129
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Security for openresume-parser 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page